Setting RTC From NTP


Author Message
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3319
Posted: 06:52am 02 Jan 2024      

Yes, that is much easier.
When I searched the manual the RTC chapter made no mention of using a string, just coma separated values.
Though it is in the Command section, next revision perhaps?

Edit
This also works.
rtc settime date$+" "+time$

The above uses a 4 digit year without a problem, the Command description only shows 2 as in Jim's example.
Edited 2024-01-02 17:16 by phil99