Development and data

How to interpret a date from a timestamp

A timestamp can represent an instant independently of how it is displayed in a local time zone. Check the unit before converting.

Before you start

Text is processed in the browser. Consider the content before using it and read the privacy policy.

Privacy

How to use it

  1. Enter 1704067200 and convert.

  2. Check the date displayed in UTC.

  3. Enter 2024-01-01T00:00:00Z and convert back to seconds.

Timestamp Converter

Worked example

The number represents seconds since 1970-01-01T00:00:00Z; Z indicates UTC in this example.

Result: 1704067200 ↔ 2024-01-01T00:00:00.000Z.

Limits and checks

Integers are interpreted as seconds, not milliseconds. A date without a time means midnight UTC; a date with time requires Z or an explicit offset. Times without a zone, fractional seconds and invalid dates are rejected; the tool does not apply local time-zone rules.

Next step

For sample integration responses, see the HTTP status guide.

How to understand common HTTP responses in an integration test
Back to the blog