Date vers horodatage Unix
Transformez n’importe quelle date et heure en secondes et millisecondes d’époque.
Date & time → Unix timestamp
—
Comment ça marche
- Wall-clock input (a date, an optional time, and a zone) is resolved to the exact UTC instant it denotes in that zone, including the daylight-saving offset in effect on that date.
- The instant is stored internally as milliseconds since the epoch; the seconds value is that number floored at 1000ths, so it stays consistent for pre-1970 dates too.
- A missing time is treated as midnight (00:00) in the selected zone, the same interpretation most databases apply to date-only values.
Bon à savoir
- Choose UTC in the zone picker when you want a zone-independent result that does not depend on where the input was recorded.
- Times that do not exist (spring-forward gaps) or occur twice (fall-back overlaps) are detected and labeled; the tool never silently picks an offset.
- Dates before 1970 produce negative timestamps; the full JavaScript Date range (±8.64×10¹⁵ ms) is supported.
Outils associés
En vedette
Convertisseur d’horodatage Unix
Convertissez les timestamps Unix en dates lisibles et les dates en horodatages en secondes ou millisecondes.
Ouvrir l’outil
Horodatage Unix vers date
Convertissez des horodatages numériques en dates claires avec affichage UTC et local.
Ouvrir l’outil
Convertisseur ISO 8601
Convertissez dates et horodatages en chaînes conformes à la norme ISO 8601.
Ouvrir l’outil
En vedette
Horodatage Unix actuel
Visualisez l’horodatage Unix actuel en direct en secondes et en millisecondes.
Ouvrir l’outil
Foire aux questions
Is my input interpreted as UTC or local time?
You choose. Wall-clock input needs a zone to identify a real instant: 09:00 in New York and 09:00 in Tokyo are six hours apart in absolute time. UTC gives a stable, predictable result.
What if I enter a date without a time?
The time defaults to 00:00 (midnight) in the zone you selected, which is exactly how most databases and APIs interpret date-only values.
Can I convert dates before 1970?
Yes. Timestamps before the epoch are negative numbers, and this tool supports them. For example, the 1969 Moon landing has a timestamp of about −14182940.