Unix Timestamp
Unix timestamp (epoch time) is the number of seconds since January 1, 1970, 00:00:00 UTC — the universal time format used in databases, APIs, log files, and programming languages. Our converter translates between Unix timestamps and human-readable dates in any timezone, handles millisecond precision, and shows the current epoch time live.
Horodatage actuel
Convertir la date en horodatage
À propos de Unix Timestamp Converter
Unix timestamp (epoch time) is the number of seconds since January 1, 1970, 00:00:00 UTC — the universal time format used in databases, APIs, log files, and programming languages. Our converter translates between Unix timestamps and human-readable dates in any timezone, handles millisecond precision, and shows the current epoch time live.
Comment l'utiliser
- Enter a Unix timestamp (seconds or milliseconds) to convert to a readable date.
- Enter a date and time to convert to Unix timestamp.
- Select your local timezone or any IANA timezone for conversion.
- Copy the result in ISO 8601 format, RFC 2822, or raw timestamp.
Formule et méthodologie
Unix timestamp = (date − 1970-01-01 00:00:00 UTC) in seconds. Millisecond timestamp = seconds × 1000. JavaScript: Date.now() (ms), Math.floor(Date.now()/1000) (s). PHP: time(). Python: import time; time.time(). SQL: UNIX_TIMESTAMP() (MySQL), EXTRACT(EPOCH FROM NOW()) (PostgreSQL).
Cas d'usage courants
- Debugging API responses with timestamp fields
- Converting log file timestamps to local time
- Setting expiration times for JWT tokens, cookies, or cache entries
- Database: comparing timestamps across timezone-unaware systems
- Checking when a file was created from its filesystem timestamp
Questions fréquentes
Outils connexes
Tous les outils →Intégrer cet outil sur votre site
Gratuit pour usage personnel et commercial. Copiez simplement le code ci-dessous.