BBoltlyze

Timestamp Converter

Convert positive Unix seconds or milliseconds to local time and UTC, or convert a local date-time to both timestamp units. See the magnitude threshold and supported date range.

Tool inputs are processed on your device. Anonymous usage events are recorded separately.

How to use it

  1. 1

    Paste a timestamp or choose a local date-time

    The tool treats values above 9,999,999,999 as milliseconds and smaller positive values as seconds. The selected date-time is interpreted in your browser’s local timezone.

  2. 2

    Compare local time and UTC

    Timestamp input shows both local display time and UTC ISO 8601. The Now button inserts the current millisecond timestamp.

Unix time represents elapsed seconds or milliseconds from 1970-01-01T00:00:00Z. This converter uses a magnitude heuristic: a positive number greater than 9,999,999,999 is treated as milliseconds; a smaller positive number is multiplied by 1,000 and treated as seconds. Do not rely on the heuristic if your application uses a nonstandard unit or an unusually distant future date.

For a checkable example, enter 1700000000 or 1700000000000; both represent 2023-11-14T22:13:20.000Z. The timestamp view displays a local time and the UTC ISO value side by side. The date-time input has no timezone field, so the browser interprets it in the local timezone before calculating seconds and milliseconds. When debugging an API, compare the UTC result and the API’s documented unit instead of inferring the unit from how many digits you see.

The timestamp-to-date direction displays positive values whose interpreted UTC year is 1971–2999; it does not show negative timestamps or UTC dates in 1970. A valid UTC instant at a year boundary may display a local time in a different year. Date-to-timestamp can still produce a negative value for a pre-epoch date. Local time output depends on the device timezone, and daylight-saving transitions can make a local wall-clock time ambiguous or nonexistent. The UTC value gives a stable comparison point.

Use the date calculator for calendar intervals; this page converts instants and local date-time inputs. Read the timestamp units and time zones guide before changing API timestamp handling. A limited usage event may report the tool ID, timing and success status, but not the entered timestamp or date.

FAQ

Seconds or milliseconds — how does it know?

Values above 9,999,999,999 are treated as milliseconds; smaller positive values are treated as seconds. This magnitude rule is not reliable for unusually far-future seconds values. Confirm the unit expected by your API.

Which timezone is used?

Timestamp results show the browser’s local timezone and a UTC ISO 8601 value. A datetime-local input has no timezone marker and is interpreted in the browser’s local timezone when converted.

Which timestamp dates can be displayed?

Timestamp-to-date accepts positive values whose interpreted UTC year is 1971–2999, regardless of the browser’s local timezone. Negative timestamps and UTC dates in 1970 are not shown in that direction; date-to-timestamp can produce negative values for dates before the epoch.

Related tools