Developer tool

Unix Timestamp Converter

Convert Unix epoch seconds to human-readable UTC/local time and back for log correlation and API testing.

How it works

How to use

Enter a Unix timestamp (seconds since 1970-01-01 UTC) to see ISO-8601 and localized interpretations. Enter a datetime string to compute the corresponding epoch value. The tool clarifies whether input is treated as UTC or local based on the selected mode.

Typical workflows

  • Translate time() values in PHP logs to incident timelines
  • Verify JWT exp claims during authentication debugging
  • Check database UNIX_TIMESTAMP columns against application DateTimeImmutable output

Limits and safety

Subsecond precision and milliseconds vs seconds are common sources of off-by-1000 errors—confirm which unit your API uses. Historical dates before 1970 or far-future values may behave differently across 32-bit PHP builds; modern 64-bit runtimes handle wide ranges. Daylight saving transitions affect local displays, not UTC epoch math.

Run in browser

AJAX processing only. No remote PHP execution sandbox. Results are not indexed.

Inputs are processed for this request only and are not stored in analytics. Object unserialize and arbitrary PHP execution are blocked.

Safety notes

  • Submitted tool contents are not written to analytics or search logs.
  • This site never evaluates arbitrary PHP from the browser.
  • Generated configs are starting points—validate on a staging host before production.