Convertitore di timestamp Unix
Converti tra un timestamp di epoca Unix e una data e ora umana.
Aggiornamento dei risultati durante la digitazione.
A proposito di questa calcolatrice
A Unix timestamp is the number of seconds since 1 January 1970 UTC (the "epoch"). This converter turns an epoch timestamp into a readable UTC and local date, or takes a date and time and returns its epoch value. It handles both seconds and milliseconds, shows the ISO 8601 form, and names the weekday. A staple for developers reading logs, databases and API responses.
Pick a direction: give it an epoch number and it shows that exact instant both in UTC and in your browser’s local time zone (the two lines differ by your UTC offset), plus the ISO 8601 string and the weekday. Give it a date and a local time instead and it returns the matching epoch value. Because seconds-based timestamps and the millisecond timestamps used by JavaScript differ by a factor of 1,000, a unit switch lets you read or produce either.
For example, the timestamp 1700000000 is Tuesday 14 November 2023 22:13:20 UTC; the ten-digit length is a clue it is in seconds, whereas a thirteen-digit value like 1700000000000 is the same instant in milliseconds. Developers use this to decode a created_at column, sanity-check an API response, set an expiry, or convert a log line’s epoch stamp into a human date.
Domande frequenti
Un Unix stamp è in secondi o millisecondi?
Il classico timestamp Unix è in pochi secondi dall'epoca del 1970, ma JavaScript e molte API usano millisecondi (1000× più grandi). Impostare l'unità sotto opzioni avanzate per leggere un valore in entrambi i modi.
Che fuso orario rappresenta il timestamp?
A Unix timestamp has no time zone — it is an absolute instant. The tool shows that instant both as UTC and in your browser’s local time, which is why the two lines can differ by your UTC offset.
Come faccio a capire se un timestamp è in secondi o millisecondi?
Conta le cifre: un timestamp dei secondi attuali è lungo circa 10 cifre, mentre la versione millisecondo è di circa 13 cifre. Se una data decodificata atterra vicino al 1970, probabilmente si legge un valore millisecondo come secondi.
Che cos'è l'epoca Unix?
L'epoca è il punto zero di Unix tempo: mezzanotte UTC il 1 gennaio 1970. Ogni timestamp è solo il numero di secondi (o millisecondi) contati da quel istante.
Può convertire una data in un timestamp?
Sì. Passare la direzione a Data → timestamp, inserire la data e l'ora locale, e restituisce il valore dell'epoca, in modo da poter fare un giro in entrambe le direzioni.
Qual è il problema dell'anno 2038?
Sistemi che memorizzano l'ora Unix in un overflow intero a 32 bit firmato il 19 gennaio 2038, dopo di che il conteggio non può più aumentare. Moderni segnali orari a 64 bit evitano questo, e questo convertitore gestisce date ben oltre il 2038.
API Hoppenstedt utilizzare questa calcolatrice dal codice
Chiama questa calcolatrice come un endpoint JSON Gratis non è necessaria alcuna chiave. Invia i valori del campo sotto come parametri di query o JSON. Qualsiasi cosa ometterete usa lo stesso valore predefinito di questa pagina; un parametro sconosciuto è un 400, mai uno zero silenzioso. Leggi tutti i documenti API →
Punto finale
GET https://calculator.free/api/v1/unix-timestamp/
curl
curl "https://calculator.free/api/v1/unix-timestamp/?mode=to_date&unix=1700000000&date=2026-09-08"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/unix-timestamp/?" + new URLSearchParams({
"mode": "to_date",
"unix": "1700000000",
"date": "2026-09-08"
}));
const data = await r.json();
console.log(data.results);
I risultati sono stime solo per gli orientamenti generali, non per i consigli finanziari, medici o fiscali.