S SEO ProCheck Tools seoprocheck.com →
← All tools

Timestamp Converter

Convert between Unix timestamps and human dates.

Unix Timestamp Converter

What it does

This converter translates between Unix time (the number of seconds since January 1, 1970, UTC) and a calendar date. It also accepts millisecond and microsecond values. Each conversion also shows the same moment four ways: the Unix value, ISO 8601 in UTC, the UTC string used in HTTP headers (labeled RFC 2822), and your local time. The date field uses your browser's time zone, and everything is calculated on your device.

How to use it

  1. To read a timestamp, paste the number into Unix Timestamp and click Timestamp → Date.
  2. To get a timestamp, pick a date and time in Human Readable and click Date → Timestamp.
  3. To start from now, click Set Current Time. Both fields fill in and the table appears.
  4. Copy the format you need from the results table.

Seconds, milliseconds and time zones

The tool reads the unit from the length of the number. Exactly 13 digits is treated as milliseconds and exactly 16 as microseconds, the unit the GA4 export to BigQuery uses for event_timestamp, and both are brought back to seconds; the table's Unix Timestamp row shows that seconds value. Every other length is read as seconds. That is right for normal timestamps, but a 19 digit nanosecond value, or a millisecond value from before September 2001 (only 12 digits), gives a wrong date, so convert those yourself.

The Human Readable picker works in your local time zone and stops at minutes. A date you enter is read as local time, so the same inputs give different timestamps on computers in different zones, and the seconds are always zero. When you convert a timestamp to a date, the picker drops the seconds, but the table keeps them. For anything you publish, such as a sitemap lastmod value or a datePublished in structured data, copy the ISO 8601 row: it is in UTC and carries the Z marker, so there is no ambiguity about the zone.