set-date-time
Use this interface to set date & time server.
HTTP Request
GET http://ip/usapi?method=set-date-time&is-auto=1&time=2019-09-10+15:00:00&...
Parameter | Description |
---|---|
method | set-date-time |
is-auto | 0: manual setup; 1: to obtain time automatically based on time zone. |
time | Set time manually in string like 2019-09-10 15:10:00. Specify the time="", when is-auto=1. |
ntp-server | NTP server |
ntp-server-backup | Backup NTP server |
Response Body
{
"result": 0
}
Item | Description |
---|---|
result | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |