Developer Tools

Unix Timestamp Converter

A timestamp that looks wrong by decades may simply use the wrong unit. Select seconds or milliseconds explicitly and compare both UTC and the timezone reported by your device. You can also turn a local calendar selection into a Unix value or capture the current time. UTC output is suitable for comparing events across systems; local output helps explain what a person sees in their own timezone. For dates around daylight-saving changes, confirm how the source system resolves repeated or skipped local times.

Your workspace

Runs locally in your browser

Result

Your input is processed locally in your browser unless explicitly stated otherwise. Inputs are not saved by this tool.

How to use this tool

Choose the unit explicitly, enter a number, and convert. Alternatively select a local date and convert it to Unix time.

Example

Input

1704067200 seconds

Output

2024-01-01T00:00:00.000Z

What does this tool do?

Unix time counts elapsed time from 1 January 1970 at 00:00:00 UTC. APIs commonly use seconds while JavaScript dates use milliseconds.

Common mistakes and limitations

Local times depend on your device timezone and daylight-saving rules. Ambiguous local times use your browser’s interpretation. Leap seconds are not represented.

Frequently asked questions

How do I distinguish seconds from milliseconds?

Check the source API documentation. Contemporary seconds are commonly 10 digits and milliseconds 13, but digit count is not a reliable rule for every date.

Related tools