Seconds or milliseconds
Many Unix timestamps use seconds, while JavaScript commonly uses milliseconds. A factor-of-one-thousand mistake creates the wrong date.
DATE & TIME TOOL
Enter Unix seconds, Unix milliseconds or a recognisable date to inspect its ISO, UTC and local-time representations.
TIMESTAMP CONVERTER
Ten-digit values are treated as seconds; longer timestamp values are treated as milliseconds.
TIME BASICS
Many Unix timestamps use seconds, while JavaScript commonly uses milliseconds. A factor-of-one-thousand mistake creates the wrong date.
UTC is useful for systems and logs. Local time is easier for a person but depends on the device time zone.
ISO 8601 is explicit and sorts well. Include a time-zone designator when exchanging dates.
Each device formats local time using its current time-zone settings.
Yes, but ambiguous formats may be interpreted differently. ISO-style input is safest.