...
Configuration | Value | Notes |
---|---|---|
CLK_CFG_STR_CONV_EN | DEF_ENABLED | Required to echo the set date and time. If set to DEF_DISABLED, the date and time set will still be effective. |
CLK_CFG_UNIX_EN | DEF_ENABLED | Required to set the date and time in UNIX format. |
CLK_CFG_NTP_EN | DEF_ENABLED | Required to set the date and time in NTP format. |
Notes/Warnings
...
Clk module epoch start on Jan 1st, 2000 at 00:00 UTC.
Only UTC timezone is supported.
Examples
Code Block |
---|
>clk_set 2014-10-21 14:27:00
2014-10-21 14:27:00 UTC+00:00
>clk_set 1412695335 --unix
2014-10-07 15:22:15 UTC+00:00
>clk_set 3621680086 -n
2014-10-07 14:14:46 UTC+00:00 |