Skip to main content

Epoch Converter, Date Difference & Cron

Now

—

Input

Unit
Time zone

A number is an epoch timestamp; anything else is read as a date. Dates without an offset are in the selected time zone. Empty shows the current time.

Results

Press Convert or Ctrl/⌘+Enter to see the result.

Everything is processed in your browser. Nothing is uploaded.

About this tool: Epoch Converter, Date Difference & Cron

Convert Unix timestamps between seconds, milliseconds, microseconds and nanoseconds and human formats such as ISO 8601 and RFC 2822, in any time zone. The same page measures the time between two dates, adds or subtracts durations, and explains cron expressions in plain language with their next run times, including daylight saving transitions. Quartz extensions L, W and # are supported.

Common uses

  • Reading a timestamp from a log line or database row
  • Working out how many days remain until a deadline
  • Checking when a scheduled job will fire next

Frequently asked questions

How do I tell seconds from milliseconds?
A current Unix timestamp has 10 digits in seconds and 13 in milliseconds. The converter detects the unit from the length and lets you override it.
Why is my cron job not running when I expect?
Common causes are a server time zone different from yours, mixing 5-field cron with 6-field Quartz syntax, and day-of-month and day-of-week both being set. The explainer lists upcoming runs so you can compare.
Which time zone is used?
Your browser time zone by default, and you can pick any IANA zone to convert to.