SOLVED: WiFly bee RTC value, out by exactly 2 hours

Hi everyone

Just a short note to close this out. I have had a response from Roving about the time zone setting, and also the 2 hour thing is explained by a rookie mistake.

From Roving Networks, regarding the setting of the Zone value:

if time_zone > 0
time zone number = 24 - (time_zone)

if time_zone < 0
time zone number = abs(time_zone)

This is good, since the 14 value for GMT+10 I found by trial and error is right :slight_smile:

And as for the time being out by 2 hours, well of course it turns out this is a factor of 2 conspiring facts:

  • The raw RTC value is not adjusted by the Zone, unlike the time that's displayed
  • The clock was being displayed in 12 hr time...
    So actually the clock was out by precisely 10 hours, or perhaps more accurately, my time zone!

Hope this helps the next person who falls down this hole :astonished:

Cheers ! Geoff