كيف تعمل الحسابات
Paste a number and the tool infers its unit from magnitude: 1e15 or larger is treated as microseconds, 1e12 or larger as milliseconds, anything smaller as seconds, with commas, underscores and spaces stripped first. From that single date it derives eight rows: Unix seconds, Unix milliseconds, ISO 8601 in UTC, RFC 3339 carrying your timezone's offset, a long human-readable form, a relative age, day of year, and the ISO week number.
The Timezone dropdown is the control that changes the output, and UTC is force-added to the list because browsers frequently omit it. It reformats the human line, the RFC 3339 row and the relative age. The timestamp box starts at 1700000000, the Now button fills in the current second, and Batch mode opens a textarea where each line is converted independently into an ISO 8601 string and a relative age.
The timezone selector does not reach everything. The date picker beneath it reads and writes in your browser's own local time, so choosing a date while a different zone is selected will not give the result you expect, and the day-of-year and ISO-week rows are likewise derived from browser-local date components. Relative ages are deliberately rough: a month is treated as 30 days and a year as 365, so anything older than a month is approximate.
الأسئلة الشائعة
Is my timestamp in seconds or milliseconds? +
The tool decides by size. 1700000000 is read as seconds, 1700000000000 as milliseconds, and a 16-digit value as microseconds. If your result lands in 1970 or in some far-future year, the magnitude rule has guessed a different unit from the one you intended.
What is the difference between the ISO 8601 and RFC 3339 rows? +
The ISO 8601 row is always UTC and ends in Z. The RFC 3339 row is the same instant written in your selected timezone with an explicit numeric offset such as +13:00, built by formatting the date and appending that zone's short offset.
Can I convert a whole list of timestamps at once? +
Yes. Click Batch mode and paste one value per line into the textarea. Each line is parsed on its own using the same magnitude auto-detection, then shown as an ISO 8601 string plus a relative age. Lines that cannot be parsed are marked invalid.
How do I get the epoch value for a specific date and time? +
Use the date picker field, which writes the whole-second Unix value straight back into the timestamp box. Be aware that this picker operates in your browser's local timezone rather than the zone selected in the dropdown above it.
Which week numbering does the tool report? +
The ISO 8601 week, which begins on Monday and assigns each week to whichever year contains its Thursday. That is why a date in early January can legitimately come back as week 52 or 53 of the preceding year rather than week 1.