r/ProgrammerHumor • • Feb 09 '18

Timezone Support

Post image
31.3k Upvotes

532 comments sorted by

View all comments

Show parent comments

1

u/wallawalla_ Feb 09 '18

Thanks, that's very informative.

2

u/[deleted] Feb 09 '18

Also to add to confusion, he forgot to mention leap seconds and how to handle them, leap years, clock drift, the fact that countries change timezones or date of daylight saving change arbitrarily (with maybe couple of weeks notice) same with leap seconds,... :)

There is just no way to efficiently and correctly deal with time.

Edit: for all c++ devs: this is currently saving my ass :)

Anybody has any idea how to deal with time on microcontrollers and C? :)