Date to Millisecond Calculators

Several date to millisecond calculators, useful when coding countdown timers, cookie expiration settings or other date related scripts. The calculators are coded in JavaScript.

If you need to do date math across timezones, follow this link to a couple date/timezone tools at the bottom of this page.

The known data:

Your computer's time:

equals
milliseconds
since
-- the start of Unix Epoch Time
in your time zone ( ).

Convert a millisecond value to a date string

this (milli ) second time number: is the equivalent of this date string in time zone

Date to milliseconds converter

a date string
examples:
"Mon Jun 18 2007 00:00:00 GMT-0400"
or "09/23/2000"
or "09/23/2000 9:45:00"

What date would that be?

Your computer's time:
equals this date:

A temporal value converted to milliseconds

equals so many (milli ) seconds:

Milliseconds converted to a temporal value

So many (milli ) seconds: equals so many

How much time between now and then?

Your computer's time:

and this date:
examples:
"Mon Jun 18 2007 00:00:00 GMT-0400"
or "09/23/2000"
or "09/23/2000 9:45:00"

are so many apart:

How much time between now and then (using a millisecond date value)?

Your computer's time:

and this date in (milli ) seconds: are so many apart:

Date and Time Math Across Timezones

Date and Time Plus/Minus Quantity of Time

This date and time in timezone so many equals this date and time in this timezone

Date/Time Subtraction

This date and time in timezone minus
this date and time in timezone equals so many

80 Comments

  1. Good, but not satisfying all the needs. Is there an other tool like this which can be used for all the types in calendar and gregorian calendar or date.

Leave a Reply

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.