Developer tool / 12
Unix Timestamp Now
Read the current Unix seconds, milliseconds, ISO, UTC, and local time together.
Unix Timestamp Now: TOEA reads your device clock at the moment you click and derives standard timestamp forms. Runs 100% locally in your browser with zero server file uploads.
- Category
- Developer tools
- Runs
- In your browser
- Cost
- Free · no sign-up
- Availability
- Ready to use
Runs entirely in your browser
The current time in code and SQL
When a script needs the same value, get it where the code runs rather than copying it from a page. In a shell, date +%s prints Unix seconds and date -u +%Y-%m-%dT%H:%M:%SZ an ISO time in UTC. PostgreSQL gives seconds with EXTRACT(EPOCH FROM now()) and MySQL with UNIX_TIMESTAMP(). To turn a timestamp you already have into a date, use the timestamp converter.
When your clock is wrong
These values come from your device's clock, which is normally corrected over the network but can drift when time sync is off. A clock that is a few minutes out causes real failures: freshly issued tokens look expired or not yet valid, and six-digit sign-in codes, which usually change every 30 seconds, are rejected. If the time here disagrees with another device, check the system's automatic time setting before debugging anything else.
Unix time skips leap seconds
Every Unix day is counted as exactly 86,400 seconds, so the leap seconds added to UTC since 1972 are not in the count. Subtracting two timestamps gives elapsed time that can be a few seconds short across decades, which matters only in astronomy, satellite navigation, and precise logging. For everyday durations and scheduling it is the right number.
How to use it
- Choose Read current time.
- Compare each representation of the same instant.
- Copy or download the snapshot.
Privacy & limitations
The time calculation is local and depends on the accuracy of your device clock.
Related tools
Frequently asked questions
Why are seconds and milliseconds different lengths?
Milliseconds count thousandths since the epoch and are roughly three digits longer.
What is the Unix epoch?
It begins at 1970-01-01 00:00:00 UTC.
Free tool · runs in your browser · no account required