PaulStoffregen / Time

Time library for Arduino
http://playground.arduino.cc/code/time
1.25k stars 666 forks source link

Time zone support #76

Open andreydung opened 7 years ago

andreydung commented 7 years ago

Hello,

I'm wondering if time zone is supported in Time library? For example, when I do the conversion from unix time to date, hour, is it possible to specify the timezone for the conversion?

AakashKumar21 commented 7 years ago

return secsSince1900 - 2208988800UL + timeZone * SECS_PER_HOUR + (Adjustment time here in secs);

Apollon77 commented 7 years ago

https://github.com/JChristensen/Timezone is there for this as I found out :-)

@PaulStoffregen : maybe a refernce in README can avoid such questions :-)