Rtc.SetTime

Set the time of the on-board RTC.

Properties

Parameters (request frame)

Name Type/Size Description
ClockId Integer (8 bits) Index of clock to set.
Now Integer (32 bits)

When Now is an integer, its value represents the seconds since 1.1.1970-00:00:00 GMT (UNIX Time).

When Now is a datetime() object, it must be set to the local time, not the UTC (or GMT) time. This is due to the fact that the mktime() function is used internally, transforming the local time into UNIX Time.

Returned values (response frame)

None