🕐

Конвертер меток времени

Преобразование меток времени и дат с точностью до секунд/миллисекунд

Date
ISO
UTC
Timestamp(ms)
Timestamp(s)

How to Convert Unix Timestamps — Seconds vs Milliseconds

A Unix timestamp counts seconds since January 1, 1970 (UTC). 10-digit = seconds, 13-digit = milliseconds. This tool auto-detects precision and converts bidirectionally with timezone support.

Timestamp Conversion Explained

In JavaScript: new Date(timestamp × 1000) converts a seconds-based timestamp to a Date object. Date to timestamp: Math.floor(date.getTime() / 1000) for seconds, date.getTime() for milliseconds.

Часто задаваемые вопросы

What's the difference between 10-digit and 13-digit timestamps?

10-digit = seconds (e.g., 1704067200), used by most APIs. 13-digit = milliseconds (e.g., 1704067200000), native to JavaScript. This tool auto-detects either format and converts accurately.

How do I convert UTC timestamps to my local timezone?

Unix timestamps are always UTC. Local time = UTC + your offset. Timestamp 0 = 1970-01-01 00:00:00 UTC. This tool shows both UTC and your local time side-by-side.

What is the current Unix timestamp right now?

The current timestamp is displayed on page load — copy it directly. You can also enter any date and convert in both directions, useful for API development, log analysis, and cron scheduling.

Связанные инструменты