Falsehoods programmers believe about time and time zones

  • Every day has 24 hours
  • Every day without DST changes is 86400 (60 * 60 * 24) seconds long
  • Every day in UTC is 86400 (60 * 60 * 24) seconds long
  • Week one of a year starts in January every year
  • If I know what time zone someone is in and they just tell me the date and local time, I can always use software to find out what time that is in UTC
  • DST always sets the clock back and forth by exactly one hour
  • Countries that observe DST begin observing DST in the first half of the year and end observing DST in the last half of the year

Be sure to click through and read a few more falsehoods, along with their explanations.

Falsehoods programmers believe about time and time zones →

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Join the Conversation

2 Comments

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.