🕐

Timestamp Converter

Convert Unix timestamps to readable dates and dates to Unix timestamps. Supports seconds, milliseconds, UTC and ISO 8601.

Current Time (Live)
Unix Timestamp (seconds)
UTC
Local Time
Unix Timestamp to Human Date
Unix Timestamp (seconds or milliseconds)
Human Date to Unix Timestamp
Date and Time

About the Timestamp Converter

Unix timestamps, the number of seconds since January 1, 1970 UTC (the Unix epoch), are used universally in programming, databases, log files and APIs. They appear constantly in Windows Event logs, server logs, SQL databases, JavaScript date objects and API responses. Converting them to human-readable dates is a regular need for IT professionals and developers.

The tool auto-detects whether a timestamp is in seconds or milliseconds based on its length. A 13-digit timestamp is treated as milliseconds (JavaScript) and automatically converted, while a 10-digit timestamp is treated as seconds. This handles the most common source of confusion when working with timestamps from different systems.

Common Use Cases

  • 📋
    Windows Event Log analysis. Event log timestamps are stored as FILETIME values internally. Convert timestamps from exported logs to understand exactly when events occurred in your local timezone.
  • 🌐
    API response debugging. REST API responses commonly return dates as Unix timestamps. Convert them during debugging to verify that dates are correct and in the expected timezone.
  • 🗄️
    Database queries. SQL databases store dates in various formats. Convert between Unix timestamps and ISO 8601 dates when writing queries or interpreting results.
  • 📜
    Log correlation. When correlating events across systems that use different timestamp formats, convert all timestamps to a common format to establish accurate timelines.

Frequently Asked Questions

Why are some timestamps 10 digits and some 13?
Unix timestamps in seconds are 10 digits (e.g. 1700000000). JavaScript and many modern APIs use milliseconds, which adds 3 digits (e.g. 1700000000000). This tool detects the length automatically and handles both.
What is UTC and why does it matter for timestamps?
UTC (Coordinated Universal Time) is the global time standard with no timezone offset. Unix timestamps are always stored in UTC. When you convert a timestamp to local time, your browser applies your local timezone offset. Servers in different timezones will show the same timestamp as different local times.
What is ISO 8601 format?
ISO 8601 is the international standard for date and time representation: YYYY-MM-DDTHH:MM:SSZ. For example 2024-11-15T08:30:00Z. The Z suffix means UTC. This format is unambiguous and sortable, making it ideal for logs, APIs and database storage.