Unix Timestamp Converter
Epoch to Human Date
Convert Unix timestamps (seconds or ms, auto-detected) to ISO, UTC, and local dates, or turn a date back into epoch.
This conversion runs only in your browser — nothing is uploaded.
Now
Timestamp → Date
Seconds and milliseconds are auto-detected (|value| > 1e12 → ms).
Date → Timestamp
Date input is interpreted in the selected zone when converting to epoch.
What is this tool?
This Unix timestamp converter turns epoch integers into human-readable dates and the reverse. Unix time counts seconds (or, in many APIs and JavaScript, milliseconds) since 1970-01-01 00:00:00 UTC.
Paste a numeric timestamp and get live ISO (UTC), a formatted UTC string, and a browser-local wall clock. Or pick a date with an explicit Browser local / UTC zone and copy epoch seconds or milliseconds.
Use it for logs, JWT exp/iat, cron and job schedules, analytics exports, database columns, cache TTLs, and API debugging when two systems disagree by a factor of 1000.
Common use cases
- Confirm whether a log field is seconds or milliseconds before writing a parser
- Translate JWT
exp/iatinto local wall time while debugging auth - Build or check schedule cutovers where UTC midnight ≠ local midnight
How to use
- Read the Now card for live seconds, milliseconds, and ISO — each has Copy.
- Enter a timestamp (Sample loads
1700000000). Results update live; check the unit chip. - Or choose a time zone, pick a date/time, and copy epoch seconds or milliseconds.
- Prefer UTC when the destination system stores UTC; use Browser local only when the wall clock matters.
Seconds vs milliseconds
| Input | Detected unit | ISO (UTC) |
|---|---|---|
1700000000 | Seconds | 2023-11-14T22:13:20.000Z |
1700000000000 | Milliseconds | 2023-11-14T22:13:20.000Z |
0 | Seconds | 1970-01-01T00:00:00.000Z |
Rule of thumb: if the number looks like ~1.7×10⁹ it is almost always seconds; ~1.7×10¹² is milliseconds (Date.now()).
Examples
| Input / setting | Output | Notes |
|---|---|---|
0 | 1970-01-01T00:00:00.000Z | Epoch start (UTC). |
1700000000 | 2023-11-14T22:13:20.000Z | Seconds → ISO. |
1700000000000 | Same ISO as above | Milliseconds auto-detect. |
Date 1970-01-01T00:00:00 + UTC | 0 | Round-trip of epoch 0. |
Practical pitfalls
- Epoch 0 ≠ local midnight: Instant
0is UTC midnight on 1970-01-01. In US/Pacific it is still 1969-12-31 locally — do not format epoch boundaries with a local calendar and assume UTC. - Seconds vs milliseconds off-by-1000 is the most common production bug; always check digit length or
|value| > 1e12. - Unique here vs many converters: live ISO and UTC and local rows, plus an explicit zone on date→epoch so
datetime-localis not ambiguous.
References
이 도구는 무엇인가요?
Unix epoch 정수(초 또는 밀리초)를 사람이 읽기 쉬운 날짜로, 또는 그 반대로 변환합니다. Unix 시간은 1970-01-01 00:00:00 UTC부터의 경과입니다.
숫자를 입력하면 ISO(UTC)·UTC 문자열·브라우저 로컬이 즉시 갱신됩니다. 날짜는 브라우저 로컬 / UTC를 선택한 뒤 epoch 초·밀리초를 복사할 수 있습니다.
로그, JWT exp/iat, 스케줄, DB 컬럼, 캐시 TTL, API 디버깅에서 단위가 1000배 어긋날 때 사용하세요.
자주 쓰는 경우
- 로그 필드가 초인지 밀리초인지 파서 작성 전에 확인
- JWT
exp/iat를 로컬 시각으로 읽어 인증 디버깅 - UTC 자정과 로컬 자정이 다른 컷오버 일정 점검
사용 방법
- 지금 카드에서 초·밀리초·ISO를 각각 복사합니다.
- 타임스탬프를 입력합니다(Sample:
1700000000). 단위 칩을 확인하세요. - 또는 시간대를 고른 뒤 날짜를 선택하고 epoch을 복사합니다.
- 저장소가 UTC면 UTC를, 벽시계가 중요하면 로컬을 쓰세요.
초 vs 밀리초
| 입력 | 감지 단위 | ISO (UTC) |
|---|---|---|
1700000000 | 초 | 2023-11-14T22:13:20.000Z |
1700000000000 | 밀리초 | 2023-11-14T22:13:20.000Z |
0 | 초 | 1970-01-01T00:00:00.000Z |
대략 1.7×10⁹ → 초, 1.7×10¹² → 밀리초(Date.now()).
예시
| 입력 / 설정 | 출력 | 메모 |
|---|---|---|
0 | 1970-01-01T00:00:00.000Z | Epoch 시작(UTC) |
1700000000 | 2023-11-14T22:13:20.000Z | 초 → ISO |
1700000000000 | 위와 동일 ISO | 밀리초 자동 감지 |
날짜 1970-01-01T00:00:00 + UTC | 0 | Epoch 0 왕복 |
실무에서 흔한 실수
- Epoch 0 ≠ 로컬 자정:
0은 UTC 1970-01-01 자정입니다. 미국 태평양 등에서는 로컬로 1969-12-31로 보입니다. - 초/밀리초 1000배 오류가 가장 흔합니다. 자릿수 또는
|값| > 1e12를 확인하세요. - 이 페이지는 ISO·UTC·로컬을 동시에 보여 주고, 날짜→epoch에 시간대를 명시해
datetime-local모호함을 줄입니다.
참고자료
このツールについて
Unix epoch の整数(秒またはミリ秒)を読みやすい日時へ、またはその逆へ変換します。起点は 1970-01-01 00:00:00 UTC です。
数値を入れると ISO(UTC)・UTC 表示・ブラウザローカルがライブ更新されます。日時は ブラウザローカル / UTC を選んで epoch 秒・ミリ秒をコピーできます。
ログ、JWT の exp/iat、スケジュール、DB、キャッシュ TTL、単位が 1000 倍ずれる API デバッグに使います。
よくある用途
- ログ項目が秒かミリ秒かをパーサ作成前に確認
- JWT の時刻クレームをローカル時刻で読む
- UTC 深夜とローカル深夜がずれるカットオーバー確認
使い方
- 現在 カードで秒・ミリ秒・ISO をそれぞれコピーします。
- タイムスタンプを入力(Sample:
1700000000)。単位チップを確認します。 - またはタイムゾーンを選び日時から epoch をコピーします。
- 保存が UTC なら UTC、壁時計が重要ならローカルを使います。
秒 vs ミリ秒
| 入力 | 判定 | ISO (UTC) |
|---|---|---|
1700000000 | 秒 | 2023-11-14T22:13:20.000Z |
1700000000000 | ミリ秒 | 2023-11-14T22:13:20.000Z |
0 | 秒 | 1970-01-01T00:00:00.000Z |
目安: 約 1.7×10⁹ → 秒、約 1.7×10¹² → ミリ秒(Date.now())。
例
| 入力 / 設定 | 出力 | メモ |
|---|---|---|
0 | 1970-01-01T00:00:00.000Z | Epoch 開始(UTC) |
1700000000 | 2023-11-14T22:13:20.000Z | 秒 → ISO |
1700000000000 | 同じ ISO | ミリ秒自動判定 |
日時 1970-01-01T00:00:00 + UTC | 0 | Epoch 0 の往復 |
実務での落とし穴
- Epoch 0 ≠ ローカル深夜:
0は UTC の 1970-01-01 0 時です。非 UTC では 1969-12-31 に見えることがあります。 - 秒/ミリ秒の 1000 倍ずれが最多の本番バグです。桁数や
|値| > 1e12を確認してください。 - 本ページは ISO・UTC・ローカルを同時表示し、日時→epoch で帯を明示して曖昧さを減らします。
参考資料
¿Qué es esta herramienta?
Convierte enteros epoch Unix (segundos o milisegundos) a fechas legibles y al revés. El tiempo Unix cuenta desde 1970-01-01 00:00:00 UTC.
Pega un número y obtén ISO (UTC), UTC formateado y hora local del navegador en vivo. O elige zona Local del navegador / UTC y copia epoch en segundos o ms.
Útil para logs, JWT exp/iat, cron, columnas de BD, TTL de caché y depurar APIs cuando dos sistemas discrepan ×1000.
Casos de uso comunes
- Comprobar si un campo de log es segundos o milisegundos
- Leer
exp/iatde JWT en hora local al depurar auth - Revisar cortes de horario donde medianoche UTC ≠ local
Cómo usar
- Usa Ahora para copiar segundos, ms e ISO.
- Introduce un timestamp (Sample:
1700000000) y mira el chip de unidad. - O elige zona, fecha/hora y copia epoch.
- Prefiere UTC si el destino guarda UTC; local si importa el reloj de pared.
Segundos vs milisegundos
| Entrada | Unidad | ISO (UTC) |
|---|---|---|
1700000000 | Segundos | 2023-11-14T22:13:20.000Z |
1700000000000 | Milisegundos | 2023-11-14T22:13:20.000Z |
0 | Segundos | 1970-01-01T00:00:00.000Z |
≈1.7×10⁹ → segundos; ≈1.7×10¹² → milisegundos (Date.now()).
Ejemplos
| Entrada / ajuste | Salida | Notas |
|---|---|---|
0 | 1970-01-01T00:00:00.000Z | Inicio epoch (UTC) |
1700000000 | 2023-11-14T22:13:20.000Z | Segundos → ISO |
1700000000000 | Misma ISO | Auto ms |
Fecha 1970-01-01T00:00:00 + UTC | 0 | Ida y vuelta de epoch 0 |
Errores prácticos
- Epoch 0 ≠ medianoche local: el instante
0es medianoche UTC del 1970-01-01; en zonas no UTC puede verse el 1969-12-31. - El error ×1000 segundos/ms es el más común; mira dígitos o
|valor| > 1e12. - Aquí ves ISO, UTC y local a la vez, con zona explícita en fecha→epoch para no dejar
datetime-localambiguo.
Referencias
Qu'est-ce que cet outil ?
Convertit des entiers epoch Unix (secondes ou millisecondes) en dates lisibles et l’inverse. Le temps Unix part de 1970-01-01 00:00:00 UTC.
Collez un nombre pour obtenir ISO (UTC), UTC formaté et heure locale du navigateur en direct. Ou choisissez Local du navigateur / UTC et copiez l’epoch en secondes ou ms.
Utile pour journaux, JWT exp/iat, planifications, colonnes BDD, TTL cache et APIs qui divergent d’un facteur 1000.
Cas d'usage courants
- Vérifier si un champ de log est en secondes ou en millisecondes
- Lire
exp/iatJWT en heure locale lors du debug auth - Contrôler des bascules où minuit UTC ≠ minuit local
Comment utiliser
- Carte Maintenant : copiez secondes, ms et ISO.
- Saisissez un horodatage (Sample :
1700000000) et regardez la puce d’unité. - Ou choisissez le fuseau, la date/heure, puis copiez l’epoch.
- Préférez UTC si le stockage est UTC ; local si l’horloge murale compte.
Secondes vs millisecondes
| Entrée | Unité | ISO (UTC) |
|---|---|---|
1700000000 | Secondes | 2023-11-14T22:13:20.000Z |
1700000000000 | Millisecondes | 2023-11-14T22:13:20.000Z |
0 | Secondes | 1970-01-01T00:00:00.000Z |
≈1,7×10⁹ → secondes ; ≈1,7×10¹² → millisecondes (Date.now()).
Exemples
| Entrée / réglage | Sortie | Notes |
|---|---|---|
0 | 1970-01-01T00:00:00.000Z | Début epoch (UTC) |
1700000000 | 2023-11-14T22:13:20.000Z | Secondes → ISO |
1700000000000 | Même ISO | Auto ms |
Date 1970-01-01T00:00:00 + UTC | 0 | Aller-retour epoch 0 |
Pièges courants
- Epoch 0 ≠ minuit local : l’instant
0est minuit UTC du 1970-01-01 ; hors UTC cela peut afficher le 1969-12-31. - L’erreur ×1000 secondes/ms est la plus fréquente ; vérifiez la longueur ou
|valeur| > 1e12. - Ici : ISO, UTC et local ensemble, plus un fuseau explicite date→epoch pour lever l’ambiguïté de
datetime-local.
Références
这个工具是什么?
将 Unix 纪元整数(秒或毫秒)与可读日期互转。起点是 1970-01-01 00:00:00 UTC。
输入数字即可实时得到 ISO(UTC)、UTC 文本与浏览器本地时间。日期可在 浏览器本地 / UTC 下解释,并复制纪元秒或毫秒。
适用于日志、JWT exp/iat、调度、数据库字段、缓存 TTL,以及两边单位相差 1000 倍的 API 调试。
常见用途
- 写解析器前确认日志字段是秒还是毫秒
- 调试认证时把 JWT 时间声明读成本地时间
- 核对 UTC 午夜与本地午夜不一致的切换窗口
如何使用
- 在 现在 卡片分别复制秒、毫秒与 ISO。
- 输入时间戳(Sample:
1700000000),查看单位芯片。 - 或选择时区与日期,复制纪元值。
- 存储为 UTC 时选 UTC;关心墙钟时选本地。
秒 vs 毫秒
| 输入 | 识别单位 | ISO (UTC) |
|---|---|---|
1700000000 | 秒 | 2023-11-14T22:13:20.000Z |
1700000000000 | 毫秒 | 2023-11-14T22:13:20.000Z |
0 | 秒 | 1970-01-01T00:00:00.000Z |
约 1.7×10⁹ → 秒;约 1.7×10¹² → 毫秒(Date.now())。
示例
| 输入 / 设置 | 输出 | 说明 |
|---|---|---|
0 | 1970-01-01T00:00:00.000Z | 纪元起点(UTC) |
1700000000 | 2023-11-14T22:13:20.000Z | 秒 → ISO |
1700000000000 | 相同 ISO | 毫秒自动识别 |
日期 1970-01-01T00:00:00 + UTC | 0 | Epoch 0 往返 |
实践中的常见误区
- Epoch 0 ≠ 本地午夜: 瞬间
0是 UTC 1970-01-01 零点;非 UTC 本地常显示为 1969-12-31。 - 秒/毫秒差 1000 倍最常见;检查位数或
|值| > 1e12。 - 本页同时给出 ISO、UTC、本地,并在日期→纪元时明确时区,减少
datetime-local歧义。
参考资料
這個工具是什麼?
將 Unix 紀元整數(秒或毫秒)與可讀日期互轉。起點是 1970-01-01 00:00:00 UTC。
輸入數字即可即時得到 ISO(UTC)、UTC 文字與瀏覽器本地時間。日期可在 瀏覽器本地 / UTC 下解釋,並複製紀元秒或毫秒。
適用於日誌、JWT exp/iat、排程、資料庫欄位、快取 TTL,以及兩邊單位相差 1000 倍的 API 除錯。
常見用途
- 寫解析器前確認日誌欄位是秒還是毫秒
- 除錯驗證時把 JWT 時間宣告讀成本地時間
- 核對 UTC 午夜與本地午夜不一致的切換窗口
如何使用
- 在 現在 卡片分別複製秒、毫秒與 ISO。
- 輸入時間戳記(Sample:
1700000000),查看單位晶片。 - 或選擇時區與日期,複製紀元值。
- 儲存為 UTC 時選 UTC;在意牆鐘時選本地。
秒 vs 毫秒
| 輸入 | 辨識單位 | ISO (UTC) |
|---|---|---|
1700000000 | 秒 | 2023-11-14T22:13:20.000Z |
1700000000000 | 毫秒 | 2023-11-14T22:13:20.000Z |
0 | 秒 | 1970-01-01T00:00:00.000Z |
約 1.7×10⁹ → 秒;約 1.7×10¹² → 毫秒(Date.now())。
範例
| 輸入 / 設定 | 輸出 | 說明 |
|---|---|---|
0 | 1970-01-01T00:00:00.000Z | 紀元起點(UTC) |
1700000000 | 2023-11-14T22:13:20.000Z | 秒 → ISO |
1700000000000 | 相同 ISO | 毫秒自動辨識 |
日期 1970-01-01T00:00:00 + UTC | 0 | Epoch 0 往返 |
實務上常見陷阱
- Epoch 0 ≠ 本地午夜: 瞬間
0是 UTC 1970-01-01 零點;非 UTC 本地常顯示為 1969-12-31。 - 秒/毫秒差 1000 倍最常見;檢查位數或
|值| > 1e12。 - 本頁同時給出 ISO、UTC、本地,並在日期→紀元時明確時區,減少
datetime-local歧義。
參考資料
Last reviewed: 2026-07-27
Frequently asked questions
- Does this use seconds or milliseconds?
- Both. Values with absolute magnitude greater than 1e12 are treated as milliseconds (JavaScript `Date.now()` scale); smaller integers are treated as seconds. The detected unit appears as a chip under the input.
- What is Unix timestamp 0?
- Epoch 0 is 1970-01-01T00:00:00.000Z (UTC). In a non-UTC local zone the same instant shows a different wall clock — often the evening of 1969-12-31 — which is a common source of off-by-one-day bugs.
- Which time zone is used for date input?
- Choose Browser local or UTC above the date picker. `datetime-local` has no zone of its own; the selector decides how those fields map to epoch seconds.
- Is conversion local?
- Yes. All math runs in your browser; timestamps are not uploaded.