I am building a device that will be used across various time Zones.
My understanding is that the device will get the time from the Handshake with Particle Cloud on my profile, is this correct? If indeed the case, the time will be wrong all of the time is it will never be used in my time zone.
Not sure and external RTC would haver solved the problem as I would need to set the time "dynamically" based on the the location.
The time you get from the Particle cloud will always be UTC as the cloud has no knowledge about the position of your device.
You'd need to get some location info to determine the correct timezone and provide the apropriate time offset.
The device does have a local display but will not necessarily display the time. the problem is that the device will display certain information based on the time of day. We need to log attendance of people attending seminars and as there are multiple sessions each day, the display will show the next event information based on what time is it.
Does this make sense?
Thanks!! Looking forward do doing more Particle projects this year
RFID and QR codes. The display is to show the information of the next event scheduled.
We retrieve all the data for the entire day from an end point provided by the client. The device then stores this data and updates the screen as needed. I need the time to determine which event is up next and update the paper display accordingly.
Just a thought, I can ask the client to include the time zone for the specific event in the end point data correct? This I can then use to set the time zone in my application code and make the adjustment from UTC ??
In the one instance I can’t do that (sending it out as a SMS message). Then instead of saying last reading was at 10:00 AM, I say the last reading was 5 minutes ago. So even in that scenario, I don’t have to deal with time zone/daylight savings math complexity.