The date and time resource provides management for the system clock, timezone and NTP.
- Child Topics
- Date and time objects
The object model describing this resource contains the following objects.
- Get timezones
Returns a list of timezones supported by the system. These items can be used when updating the system timezone.
- Get system clock
Returns the date and time of the system, along with the configured timezone and whether NTP is being used.
- Set system clock
Update the timezone, and system clock, using either separate date/time values or posixTime, which is the number of seconds since the 1st January 1970.
- Get NTP servers
Returns a list of the configured NTP servers.
- Set NTP servers
Sets the NTP servers to be used by the system.