4.4 Set to local date and time
When supplied the AMC 600 has UTC time as default time. The time in the unit can both be set with the command shell, or with
NTP (Network time protocol). See the Operative system software document for details on setting up NTP.
Set the date and time with the following command:
~ # date [yyyymmddHHMM]
Display the data with following command:
~ # date
Write the current time to the HW RTC, this is done automatically on reboot and ones each hours.
~ # hwclock -w
Example
~ # hwclock -r
Thu May 12 09:53:48 2011 0.000000 seconds
~ # date 201105120954
Thu May 12 09:54:00 UTC 2011
~ # date
Thu May 12 09:54:03 UTC 2011
~ # hwclock -w
~ # hwclock -r
Thu May 12 09:54:11 2011 0.000000 seconds
~ #
User's manual 4189341335A EN Page 23 of 33