Home Journal Date.getTime() == 1234567890

Date.getTime() == 1234567890

by John

If you’re familiar with how the Javascript or Actionscript Date class works you’ll know that a single Number lies at the core of any Date() value. This value counts the total number of milliseconds since the Unix epoch began on 1st Jan 1970.

In just over 8 hours time (on Friday February 13th 2009 at 23:31:30 UTC) the value of that offset will quietly tick over to read 1234567890.

You can watch the live countdown at http://coolepochcountdown.com/

thanks to Jon Haywood

You may also like


Anton Granik February 13, 02009 - 5:50 pm

That is AWESOME!

John February 17, 02009 - 6:08 pm

Really like granik.com Anton – beautiful site. I definitely want to add some period music to the app once I have the timeline in place. It sets a mood and deepens the experience.

Raphael February 13, 02009 - 6:00 pm

really cool

actually its seconds, not milliseconds 🙂

John February 13, 02009 - 6:16 pm

Sorry your right, getTime returns milliseconds but the sequence will be the number of seconds.


Leave a Reply

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