5.1.6 api system time set

The /api/system/time/set function is used for device time setting.

GET or POST methods can be used for the function.

The function is part of the System service and the user has to be assigned the System (Control) privilege for authentication if required.

Request parameters:

Parameter

Description

time

number = unix time, min 0, max 2147483647 

The response is in the application/json format.

Example:

{
  "success" : true
}

Caution

  • We recommend that this endpoint is used for time setting only in case the Use time from Internet parameter is disabled. If it is enabled, the time value is overwritten with a value from the NTP server or the My2N time service.