Human-Readable to Epoch Converter

Type or paste any date/time string and instantly get the Unix epoch value in both seconds and milliseconds.

Date / Time Input

Quick insert
Accepted formats
  • 2024-06-15T09:30:00Z
  • 2024-06-15 09:30:00
  • June 15, 2024 09:30
  • 06/15/2024 09:30:00
  • 15 Jun 2024 09:30:00 +0000
  • Sat, 15 Jun 2024 09:30:00 GMT

Enter a date/time string and press Convert

Copied!

Summary

Type or paste any date/time string and instantly get the Unix epoch value in both seconds and milliseconds.

How it works

  1. Type or paste a date/time string into the input field (e.g. "2024-06-15 09:30:00", "June 15 2024", "06/15/2024 09:30", or "2024-06-15T09:30:00Z").
  2. Select whether the input should be interpreted as local time or UTC.
  3. The tool parses the date using the browser's built-in Date API and known format heuristics.
  4. The Unix epoch value is shown instantly in both seconds (10 digits) and milliseconds (13 digits).
  5. Click the copy icon next to any result to copy that value to your clipboard.
  6. Use the quick-insert buttons ("Now", "Start of Today", "Start of Year") to prefill common dates.

Use cases

  • Convert a log date string to a Unix timestamp for filtering or comparison.
  • Set an epoch value when building API requests or database queries.
  • Compute expiry or deadline times in epoch format for tokens or sessions.
  • Translate a human-readable date from a report into a machine-readable timestamp.
  • Check what epoch value corresponds to midnight of a specific date.
  • Generate epoch values for scheduled jobs or cron configurations.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu