Date & Time
Unix Timestamp Converter
Convert Unix seconds, milliseconds, ISO dates, UTC, and local time.
UTC: Aug 20, 2026, 12:00 AM UTC
Unix seconds
1787184000
Unix milliseconds
1787184000000
Local date/time
Aug 20, 2026, 12:00 AM UTC
UTC offset
UTC+0
About This Tool
Translate Unix epoch values into readable dates or convert a date and time back into epoch seconds and milliseconds. This is useful when debugging APIs, logs, databases, analytics events, scheduled jobs, or JavaScript timestamps where a large integer needs to be mapped to an exact moment.
How To Use It
- Choose timestamp-to-date when you have an epoch number, or date-to-timestamp when you have a readable date and time.
- Select seconds or milliseconds when entering a Unix value so the converter interprets its scale correctly.
- Review the UTC, local, ISO 8601, seconds, and milliseconds representations.
- Copy the format required by your application, API, database, or log workflow.
Examples
Debug a log value
Paste an epoch value from logs or analytics to translate it into readable UTC and local date/time values.
JavaScript milliseconds
A JavaScript Date timestamp is normally measured in milliseconds, so values are roughly 1,000 times larger than Unix-second timestamps for the same moment.
Create an API timestamp
Enter a date and time, then copy Unix seconds when an API expects a traditional epoch value or milliseconds when a JavaScript-style timestamp is required.
Useful Notes
What the Unix epoch means
Unix time counts elapsed time from 1970-01-01 00:00:00 UTC. A timestamp represents an instant, not a timezone-specific wall-clock label.
Seconds versus milliseconds
Many backend systems store Unix seconds, while JavaScript commonly uses milliseconds. Choosing the wrong unit can produce a date thousands of years away from the intended value.
UTC and local display
The same timestamp can be displayed differently in local time and UTC because those are two representations of the same instant.
Negative timestamps
Negative Unix timestamps represent supported dates before the 1970 epoch, although the exact usable range can depend on the browser runtime.
FAQ
Is Date to Unix Timestamp a separate tool?
No. This converter handles both directions on one page to avoid duplicate workflows.
How do I know whether my timestamp is seconds or milliseconds?
Modern Unix seconds are usually around 10 digits, while JavaScript-style milliseconds are usually around 13 digits. The source system's documentation is the best confirmation.
Does a Unix timestamp contain a timezone?
No. It identifies an instant relative to UTC. Timezones only affect how that instant is displayed as a local date and clock time.
Why is my converted date completely wrong?
The most common cause is interpreting a milliseconds value as seconds or a seconds value as milliseconds.
Related Tools
ISO 8601 Converter
Parse and create ISO 8601 date/time values.
UTC to Local Time Converter
Convert UTC into local time with offsets and ISO output.
Time Zone Converter
PopularConvert times between searchable IANA time zones.
Week Number Calculator
Calculate ISO week numbers and week-years.