This page contains JavaScript code to convert between dates in various formats.

In its present form, it does not take into account leap seconds and other sub-minute corrections. Also, the calculation of the Excel date may be incorrect for dates prior to March 1, 1900 (Microsoft Excel apparently believes that 1900 was a leap year.)

Date/time: --::
Julian date:
Excel date:
UNIX time:
J2000 seconds: