Unix Timestamp to Date
Convert a Unix timestamp in seconds or milliseconds into local and UTC dates.
Enter the details
Add the information requested below to get your result.
Your entries are used to produce the result in this browser.
Share or download
How to use this tool
What does the Unix Timestamp to Date do?
Convert a Unix timestamp in seconds or milliseconds into local and UTC dates. Enter the details above to see the result. The notes below explain the calculation method, any published formula, a worked example and important limitations.
When to use this tool
Convert a Unix timestamp in seconds or milliseconds into local and UTC dates. Have Unix timestamp (seconds or milliseconds) ready before you start. Try the output in the application where you plan to use it before adding it to a live project.
How to use the Unix Timestamp to Date
- Enter the requested information: Unix timestamp (seconds or milliseconds).
- Check each value, date, text entry, or unit before continuing.
- Tap the main button to see your result.
- Review the result and use Copy result when you need to reuse it.
- Choose Clear to remove the entries and start again.
Formula and calculation method
The supplied text or data is parsed, formatted, encoded, validated or transformed according to the selected operation. You supply Unix timestamp (seconds or milliseconds). Test important output in the application where it will be used.
This tool may use a processing rule, conversion factor, validation step or generation method rather than one standalone equation. The method above describes how its output is produced.
Unix Timestamp to Date worked example
Example inputs: Unix timestamp (seconds or milliseconds): 1700000000. Example output: Local date: 11/14/2023, 10:13:20 PM UTC date: Tue, 14 Nov 2023 22:13:20 GMT ISO 8601: 2023-11-14T22:13:20.000Z Interpreted as: seconds
Inputs required
- Unix timestamp (seconds or milliseconds)
Accuracy and limitations
Use the output as a development aid and validate important code, encoded data, or configuration in your actual application environment. Results are generated by the method built into this tool. Rounding, input format, unit selection, and assumptions can affect the output. For important decisions, verify the result independently with an appropriate trusted source.
Part of Date and Timestamp Utilities.
Sources and further reading
These external references support the standards, concepts or browser methods related to this tool. The exact assumptions used by this calculator are described above.
- JavaScript Date reference — MDN Web DocsExplains date/time values, UTC timestamps and browser date handling.
- Representing dates and times — MDN Web DocsBackground on the Unix epoch and date/time representation in JavaScript.
Frequently asked questions
What do I need to enter?
Start with Unix timestamp (seconds or milliseconds). Follow the field labels and keep units and formats consistent.
How is the result worked out?
The supplied text or data is parsed, formatted, encoded, validated or transformed according to the selected operation. You supply Unix timestamp (seconds or milliseconds). Test important output in the application where it will be used.
What should I double-check?
Test the output in the application or environment where you plan to use it.