Timestamp Generator

Generate the current Unix time in seconds and milliseconds, or convert a local instant or a Unix seconds or milliseconds value to ISO 8601 UTC.

Last updated: October 28, 2026

Tool

This tool will load here.

What this generator does

A timestamp generator writes Unix time: seconds or milliseconds since 1970-01-01T00:00:00Z. This timestamp generator can snapshot the current instant, convert a local date-time from this browser into Unix time, or convert a Unix seconds or milliseconds value into ISO 8601 UTC. Choose the input unit before you convert. The tool does not guess the unit from digit count. Unix time is UTC. The local field uses the zone the browser already has. That is not a time-zone converter. It will not apply IANA zones or DST tables you type by name.

This is not the Date Difference Calculator and not the Time Duration Calculator. Those pages count spans. This page names an instant. It will not tell you how old someone is and will not wrap midnight for a shift length.

Use Now when you need a created_at value. Use From local time when you already have a civil clock in this zone. Choose Seconds or Milliseconds, enter the integer, then use From Unix value when a log printed a Unix number and you want the UTC ISO form. Copy seconds writes the Unix seconds row.

How to use

  1. Now fills seconds, milliseconds, and ISO 8601 UTC.
  2. Or enter a local date-time and choose From local time.
  3. Or choose Seconds or Milliseconds, enter a whole Unix value, and choose From Unix value. Clear hides the rows and resets the unit to seconds.

Empty local time and empty Unix input are errors for those actions. Non-integer Unix values are rejected. Extremely large Unix values are refused so the Date object stays usable. The seconds limit is an absolute value above 1×1011; the milliseconds limit is the same instant window (absolute value above 1×1014). Labels sit above the fields.

Example

Unix seconds 0 is 1970-01-01T00:00:00.000Z. Unix seconds 1700000000 is 2023-11-14T22:13:20.000Z. The same instant as milliseconds is 1700000000000. If you leave the unit on Seconds and paste 1700000000000, the tool treats that as seconds and refuses the value as out of range rather than silently dividing by 1000. Now uses this computer’s clock; two clicks a second apart differ by about one second. A local time of 2020-01-01 00:00 in a UTC+4 browser becomes 2019-12-31T20:00:00.000Z. Script-looking text in the Unix field is rejected as not a number.

0 → 1970-01-01T00:00:00.000Z
1700000000 s = 1700000000000 ms → 2023-11-14T22:13:20.000Z

Limits

  • Seconds and milliseconds for the snapshot and for From Unix value. Microseconds and nanoseconds are not converted here.
  • No IANA zone list. No leap-second table.
  • Not a duration, age, or time-zone converter.
  • Work stays in this browser.

If the job was “how many nights between two dates,” leave this page. If the job was “what is the Unix time of this instant,” stay. Write seconds or milliseconds next to the number. Mixing them is how a token expires in 1970 or in the year 56000.

The ISO row always includes milliseconds and a Z. Some APIs want seconds only as an integer. Copy seconds is for that case. Some APIs want milliseconds. Read the milliseconds row instead of multiplying in your head if you can avoid it.

The local field’s step is one second. Sub-second local input is not offered. Now still reports milliseconds from the system clock because that clock has them.

If the clock on the computer is wrong, Now is wrong. This page does not reach out to a network time service. For a signature that must agree with a server, trust the server’s clock or an agreed NTP source, not a tab that read Date.now().

Negative Unix values are allowed when they are whole numbers in range. They name instants before 1970. Some databases reject that. The page will still show the ISO form. Whether you should store it is a schema question, not a generator question.

On this page

Related Articles

Related solutions

Related Tools

Need another tool ?

Open the free tools — no signup.

FAQs

Innovative Solutions For Modern Needs
Copyright © 2026 Yallasolve. all rights reserved.