DATE_CONFIG
Description
Get or Set Date configuration. It allows all Date configurations can be set in one time.
If the CHANNEL=n was set with this URL to the Multi-Channel device, this URL is read-only command and the Router's DATE configurations will be returned.
Input Argument
a,b,c,d
where
a : DATE type, 1: Manual Date 2: SNTP Synchronization
b : if a = 1, it is the manual date setting (mmdd0000yyyy), if a = 2, it is the SNTP server address (IPv4 address or host of SNTP server)
c : if a = 1, it is the manual time setting (mm:ss:hh). if a = 2, it is the SNTP update interval in second
d : time zone setting
Attribute
Return of Message
DATE_CONFIG='1,010100002004,00:00:00,+00'
or
DATE_CONFIG='2,192.168.0.2,86400,+00'
OK: DATE_CONFIG='1,010100002004,00:00:00,+00'
or
OK: DATE_CONFIG='2,192.168.0.2,86400,+00'
or
ERROR: DDNS_TYPE='1,010100002004,00:00:00,+00'
or
ERROR: DATE_CONFIG='2,192.168.0.2,86400,+00'
Applicability
Status
This URL is new command for replacing the URL DATE_TYPE, DATE_SNTP_IP, DATE_SNTP_UPDATE, DATE_MANUAL_DATE, DATE_MANUAL_TIME and DATE_MANUAL_ZONE
See Also
DATE, DATE_TYPE, DATE_SNTP_IP, DATE_SNTP_UPDATE, DATE_MANUAL_DATE, DATE_MANUAL_TIME, DATE_MANUAL_ZONE, DAYLIGHT_SAVING_CONFIG
Example
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&DATE_CONFIG
or
http://ip:port/cgi-bin/cmd/system?DATE_CONFIG
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&DATE_CONFIG=1,010100002004,00:00:00,+00
or
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&DATE_CONFIG=2,192.168.0.2,86400,+00
or
http://ip:port/cgi-bin/cmd/system?DATE_CONFIG=1,010100002004,00:00:00,+00
or
http://ip:port/cgi-bin/cmd/system?DATE_CONFIG=2,192.168.0.2,86400,+00
Back to