WORKED CASE · SYNTHETIC TEST DATA

Establish the timestamp unit

Seconds and milliseconds differ by a factor of 1000.

Input and settings

1704067200

Run and interpret

Enter the ten-digit sample. UTC is midnight on 2024-01-01; local time depends on your timezone.

Expected output

2024-01-01T00:00:00.000Z
1704067200000

Scope and possible misuse

The interface infers ten digits as seconds and thirteen as milliseconds. Other historical or negative numbers require explicit unit review.

Unexpected result? Report a minimal example