🕒 Timestamp Converter

Convert Unix, JavaScript, Java, .NET, FileTime, Cocoa and Excel timestamps to and from readable dates — with ISO/RFC formats, 16+ timezones, date-difference, batch mode, calendar facts and code snippets. 100% in your browser.

⏱️ Timestamp Input

🔄 Date → Timestamp

Unix (seconds)
Unix (ms)
Tip: click any value to copy it.

🌍 Timezone

Zone time
UTC offset

➖ Date Difference

Calendar
Total

📅 Date Formats click to copy

Local date & time
UTC date & time
ISO 8601
Relative
RFC 2822
HTTP / Cookie
Ordinal date
ISO week date

🔢 Timestamp Formats click to copy

Unix seconds
Unix milliseconds
Microseconds
Nanoseconds
.NET ticks
Windows FileTime
Apple Cocoa
Excel serial

📆 Calendar Facts

📋 Copy & Export

💻 Programming Examples uses the current timestamp


      

📚 Batch Converter one timestamp per line

InputUTC (ISO)Local

🕘 History

No saved conversions yet.
ℹ️ All conversions run entirely in your browser — nothing is uploaded, no login, and it works offline once loaded. Timezone conversions use your browser's built-in IANA database (including DST). Some legacy formats (e.g. Excel serial) use the common conventions noted in the docs below.

ℹ️ About This Tool

The Timestamp Converter is a fast, private, browser-based utility that turns machine timestamps into human-readable dates — and back again — across every format a developer, database administrator, DevOps engineer or analyst is likely to meet. A "timestamp" is just a number that represents a moment in time, but there is no single convention: Unix systems count seconds since 1 January 1970, JavaScript and Java count milliseconds since the same epoch, .NET counts 100-nanosecond "ticks" since the year 1, Windows FileTime counts 100-nanosecond intervals since 1601, Apple's Cocoa frameworks count seconds since 2001, and spreadsheets like Excel count days since 1899. Reading a log line, a database column, an API response or a file's metadata therefore often means first working out which timestamp you are looking at, and then converting it into something you can actually understand. This tool does both instantly, showing every common interpretation side by side so you never have to guess or reach for a REPL.

Paste any number and the converter auto-detects whether it is in seconds, milliseconds, microseconds or nanoseconds based on its magnitude — or you can force a specific unit from the dropdown when you already know the source. From that single moment it derives a complete set of date formats: your local time with timezone, UTC, strict ISO 8601 (with a Zulu variant), RFC 2822, the HTTP/cookie date used in web headers, the ordinal date (year plus day-of-year), and the ISO week date (year, week number and weekday). It also gives a plain-English relative time — "3 hours ago", "in 2 days" — which is invaluable when scanning logs. Alongside the dates, it renders the same instant in every timestamp format: Unix seconds and milliseconds, microseconds and nanoseconds, .NET ticks, Windows FileTime, Apple Cocoa time and the Excel serial number, each ready to copy with a single click.

Because time is meaningless without a zone, a built-in timezone converter lets you view any instant in more than sixteen major zones — UTC and GMT, India (IST), the US zones (PST, MST, CST, EST), the UK (GMT/BST), Japan (JST), Korea (KST), Australia (AEST), New Zealand (NZST), Dubai, Singapore and representative European, African and American cities. Conversions use your browser's built-in IANA timezone database, so daylight-saving transitions are handled correctly rather than with a naive fixed offset. Going the other direction, a date-to-timestamp picker turns any date and time you choose into its Unix value in both seconds and milliseconds, and a date-difference calculator compares two moments and breaks the gap down into years, months and days as well as a total in weeks, days, hours, minutes and seconds — handy for SLAs, ages, countdowns and durations.

For real developer workflows the tool goes further. A batch converter accepts a whole list of timestamps — paste them one per line — and returns a table of UTC and local dates you can export, perfect for turning a column of epoch values from a log or database dump into something readable. A programming-examples panel shows exactly how to produce or parse the current timestamp in ten languages — JavaScript, Node.js, Python, Java, PHP, Go, Rust, Swift, Kotlin and SQL — with the live value substituted in, so you can copy a correct, ready-to-paste snippet instead of remembering each language's date API. A calendar-facts panel surfaces the day name, week number, quarter, day-of-year, whether it is a weekend and whether the year is a leap year, which is useful for scheduling, reporting and validation.

Every value in the tool is click-to-copy, and dedicated buttons copy the local, UTC, ISO or raw timestamp in one tap. You can export a full conversion as TXT, CSV, JSON or PDF, print it, and keep a local history of recent conversions in your browser to revisit or download later. Robust validation catches non-numeric input, values outside the representable date range, and other edge cases, explaining the problem instead of showing a broken "Invalid Date". And because the entire tool is plain JavaScript running on your own machine, it is lightweight and instant, works offline once the page has loaded, and is completely private — no timestamp, date or log fragment you paste is ever uploaded to a server, there is no sign-up, and nothing is tracked against you.

Who is it for? Backend and API developers decoding epoch fields in requests and responses; DevOps and SRE engineers reading timestamps in logs and metrics across timezones; database administrators converting stored epoch columns; data analysts normalising time data from mixed sources; QA engineers verifying date handling and boundary cases; and students learning how epoch time, UTC, ISO 8601 and timezones fit together. Whether you need a one-second sanity check on a single value or a full multi-format, multi-timezone breakdown with copyable code, this converter puts every timestamp and date format in one private, offline-capable place.

✅ Key Benefits

  • Every timestamp format — Unix s/ms/µs/ns, JavaScript, Java, .NET ticks, Windows FileTime, Apple Cocoa and Excel serial.
  • Every date format — local, UTC, ISO 8601, RFC 2822, HTTP/cookie, ordinal and ISO week date, plus relative time.
  • Timezone converter — 16+ zones with correct daylight-saving handling via the browser's IANA database.
  • Two-way & difference — date-to-timestamp and a full date-difference calculator.
  • Batch & code — convert lists at once and copy ready-to-use snippets for 10 languages.
  • Calendar facts — day, week, quarter, day-of-year, weekend and leap-year checks.
  • Copy, export & history — click-to-copy everything; export TXT/CSV/JSON/PDF; local history.
  • Private & offline — 100% browser-based, no upload, no login.

ℹ️ इस टूल के बारे में

यह Timestamp Converter एक तेज़, निजी और पूरी तरह ब्राउज़र में चलने वाला उपयोगी टूल है जो machine timestamps को पढ़ने-योग्य dates में — और वापस — बदलता है, हर उस format में जिससे किसी developer, database administrator, DevOps engineer या analyst का सामना होता है। "timestamp" बस एक संख्या है जो समय के किसी पल को दर्शाती है, पर इसका कोई एक ही तरीका नहीं है: Unix सिस्टम 1 जनवरी 1970 से seconds गिनते हैं, JavaScript और Java उसी epoch से milliseconds, .NET साल 1 से 100-नैनोसेकंड "ticks", Windows FileTime 1601 से 100-नैनोसेकंड अंतराल, Apple के Cocoa framework 2001 से seconds, और Excel जैसे spreadsheet 1899 से days। किसी log line, database column, API response या file के metadata को पढ़ने के लिए अक्सर पहले यह पता लगाना पड़ता है कि आप कौन-सा timestamp देख रहे हैं, फिर उसे कुछ समझने-योग्य में बदलना पड़ता है। यह टूल दोनों तुरंत करता है, हर आम interpretation साथ-साथ दिखाकर, ताकि आपको कभी अंदाज़ा न लगाना पड़े।

कोई भी संख्या paste करें और converter उसके आकार से अपने आप पहचान लेता है कि यह seconds, milliseconds, microseconds या nanoseconds में है — या जब आपको स्रोत पता हो तो dropdown से एक इकाई चुन सकते हैं। उस एक पल से यह date formats का पूरा सेट निकालता है: timezone सहित local समय, UTC, सख़्त ISO 8601 (Zulu संस्करण सहित), RFC 2822, web headers में इस्तेमाल होने वाली HTTP/cookie date, ordinal date (साल और day-of-year), और ISO week date। यह एक सरल-भाषा relative time भी देता है — "3 hours ago", "in 2 days" — जो logs देखते समय बहुत उपयोगी है। dates के साथ, यह उसी पल को हर timestamp format में दिखाता है: Unix seconds और milliseconds, microseconds और nanoseconds, .NET ticks, Windows FileTime, Apple Cocoa time और Excel serial — हर एक एक क्लिक में copy होने को तैयार।

चूँकि समय बिना zone के अर्थहीन है, एक built-in timezone converter आपको किसी भी पल को सोलह से ज़्यादा प्रमुख zones में देखने देता है — UTC और GMT, भारत (IST), US zones (PST, MST, CST, EST), UK (GMT/BST), Japan (JST), Korea (KST), Australia (AEST), New Zealand (NZST), Dubai, Singapore और प्रतिनिधि European, African व American शहर। Conversions आपके browser के built-in IANA timezone database का उपयोग करते हैं, इसलिए daylight-saving बदलाव सही ढंग से संभाले जाते हैं, न कि किसी सरल स्थिर offset से। दूसरी दिशा में, एक date-to-timestamp picker आपकी चुनी किसी भी date-time को seconds और milliseconds दोनों में उसके Unix मान में बदलता है, और एक date-difference calculator दो पलों की तुलना करके अंतर को years, months और days के साथ-साथ weeks, days, hours, minutes और seconds के कुल में तोड़ता है।

असल developer workflows के लिए टूल और आगे जाता है। एक batch converter timestamps की पूरी सूची लेता है — एक प्रति पंक्ति paste करें — और UTC व local dates की एक table लौटाता है जिसे आप export कर सकते हैं, किसी log या database dump के epoch column को पढ़ने-योग्य बनाने के लिए बढ़िया। एक programming-examples panel दिखाता है कि मौजूदा timestamp को दस भाषाओं में कैसे बनाएँ या parse करें — JavaScript, Node.js, Python, Java, PHP, Go, Rust, Swift, Kotlin और SQL — live मान भरकर, ताकि आप हर भाषा की date API याद करने के बजाय एक सही, तैयार snippet copy कर सकें। एक calendar-facts panel day name, week number, quarter, day-of-year, weekend और leap year दिखाता है।

टूल का हर मान click-to-copy है, और अलग बटन local, UTC, ISO या raw timestamp एक tap में copy करते हैं। आप पूरी conversion को TXT, CSV, JSON या PDF में export, print, और हाल की conversions की local history browser में रख सकते हैं। मज़बूत validation गैर-संख्यात्मक input, प्रस्तुत-योग्य सीमा से बाहर मान, और बाकी edge cases पकड़ता है, टूटी "Invalid Date" दिखाने के बजाय समस्या समझाता है। और चूँकि पूरा टूल आपके अपने device पर plain JavaScript है, यह हल्का और तुरंत है, load होने पर offline काम करता है, और पूरी तरह निजी है — आपका paste किया कोई timestamp या date कभी server पर upload नहीं होता, कोई sign-up नहीं, कुछ भी track नहीं होता।

यह किसके लिए है? requests और responses में epoch fields decode करते backend व API developers; timezones के पार logs व metrics में timestamps पढ़ते DevOps व SRE engineers; संग्रहीत epoch columns बदलते database administrators; मिश्रित स्रोतों से time data सामान्य करते data analysts; date handling व boundary cases जाँचते QA engineers; और epoch time, UTC, ISO 8601 व timezones को समझते students। चाहे किसी एक मान की एक-सेकंड जाँच हो या copyable code सहित पूरा multi-format, multi-timezone breakdown — यह converter हर timestamp और date format को एक निजी, offline-capable जगह पर लाता है।


🗂️ Supported Formats

FormatEpoch / baseUnit
Unix seconds1970-01-01 UTCseconds
Unix ms (JavaScript / Java)1970-01-01 UTCmilliseconds
Microseconds / Nanoseconds1970-01-01 UTCµs / ns
.NET ticks0001-01-01100-nanosecond ticks
Windows FileTime1601-01-01 UTC100-nanosecond intervals
Apple Cocoa / Core Data2001-01-01 UTCseconds
Excel serial date1899-12-30days (with 1900 leap-year quirk)
ISO 8601 / RFC 3339calendar date-time string
RFC 2822 / HTTP datecalendar date-time string

🧮 Examples

  • 1750000000 (Unix s) → 2025-06-15 15:06:40 UTC.
  • 1609459200000 (Unix ms) → 2021-01-01 00:00:00 UTC.
  • 0 → the Unix epoch, 1970-01-01 00:00:00 UTC.
  • Date → timestamp: pick 2030-01-01 00:00 local → its Unix seconds value appears instantly.

💻 Programming examples

The tool generates ready-to-copy snippets for JavaScript, Node.js, Python, Java, PHP, Go, Rust, Swift, Kotlin and SQL, each using the current timestamp. For example, in JavaScript new Date(unix * 1000).toISOString(), in Python datetime.utcfromtimestamp(unix), and in SQL to_timestamp(unix).

🔒 Privacy

This converter is 100% client-side. Every timestamp and date you enter is processed by JavaScript in your own browser — nothing is sent to any server, there is no account, and your history is stored only in your browser's local storage. Clear it anytime; once loaded, the tool works with no internet connection.

🚀 How to use

  1. Paste a timestamp, or click Use Current Timestamp; the unit is auto-detected (or force one).
  2. Read the date formats, timestamp formats and calendar facts.
  3. Pick a timezone to convert, or a date to get its timestamp.
  4. Use the difference calculator, batch converter or code snippets as needed.
  5. Click any value to copy, or export the result and save it to history.

❓ Frequently Asked Questions


🛠️ Troubleshooting

  • Shows "Invalid" or "—": The input is not a number or is outside the supported date range (roughly ±271,000 years from 1970). Check for stray letters or characters.
  • Wrong by a factor of 1000: Your value's unit was mis-detected — set the "Interpret input as" dropdown to seconds, milliseconds, microseconds or nanoseconds explicitly.
  • Timezone time looks off by an hour: That is usually daylight saving; the tool follows the IANA database, so the offset shown is the correct one for that date.
  • Local time differs from a colleague's: Local time depends on each device's timezone setting. Compare using UTC or ISO to avoid confusion.
  • Excel serial looks off by 1–2 days: Excel includes a historical 1900 leap-year bug; this tool uses the common 1899-12-30 base that matches modern Excel for dates after 1900-03-01.
  • PDF export not working: It uses a library loaded from the internet. Offline, use TXT/CSV/JSON export or Print, which always work.
  • History disappeared: History lives only in your browser; clearing browser data or private mode will not retain it.