Does the Time instance need the cloud?

Hey,
I have an E-Series Dev Board.
As i want to know what time of the day it is to change the programms behaviour, i was checking the Time.hour() method. It works when I have connected to the cloud. But without connecting to the cloud it returns 0.
So to get the actuall time is it necessary to connect to the cloud?

Thanks

What a coincidence a very similar question was asked and answered merely a few hours ago :wink:

The RTC needs to be synced at least once (either via the cloud or manually via Time.setTime()) and then be kept powered so that it can hold the time.

thanks,

so an initial cloud handshake has to occure?

As stated above

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.