Converters
Timestamp Converter
Read a log timestamp as UTC and local time, or convert a local calendar value into Unix seconds and milliseconds.
About this tool
When to use it
Read a log timestamp as UTC and local time, or convert a local calendar value into Unix seconds and milliseconds.
How to use it
Choose Unix timestamp and explicitly select seconds or milliseconds before converting. Compare ISO 8601 and UTC with the local display. For Date and time, the calendar control represents browser-local time; daylight-saving transitions can make local times ambiguous.
Guide updated . Examples checked against this implementation.
Worked examples
The Unix epoch
Input
Timestamp: 0; Unit: secondsExpected output
1970-01-01T00:00:00.000ZThe ISO field is UTC. The local field may show a different hour or date. Milliseconds are also zero for this fixture.
Errors and unsupported input
A recent timestamp produces a date near 1970Check whether the input is seconds but the control is set to milliseconds. The converter follows your selected unit rather than guessing.
Continue this workflow
- Crontab Generator: Check the scheduler timezone separately from log timestamp units.
Questions
Frequently asked questions
Does changing timezone change the instant?
A UTC instant can be displayed in different local times. Entering a timezone-free calendar value, however, requires an interpretation by the browser.