Skip to main content

Converters

Date Time Stamp -> Date and Time

Insert seconds in epoch format. Values >10 10 are treated as milliseconds.

Unix Time Stamp (in seconds)

Leave the time field empty to use 00:00:00. The clock is interpreted in local browser time zone.

Come utilizzare Epoch / Unix Timestamp Converter

Converti un Unix timestamp in data leggibile

Inserisci un numero Unix (secondi trascorsi dal 1 gennaio 1970) nel campo "Timestamp (secondi)". Il convertitore calcola istantaneamente la data corrispondente nei formati ISO 8601, UTC, ora locale e tempo relativo.

Converti una data in Unix timestamp

Inserisci una data nel campo "Data (YYYY-MM-DD)" e un orario nel campo "Ora (HH:MM:SS)". Il convertitore restituisce il corrispondente Unix timestamp in secondi e in millisecondi.

Usa il pulsante "Ora" per il timestamp corrente

Clicca il pulsante "Ora" accanto al campo Unix o il pulsante "Usa ora corrente" nella sezione data per popolare automaticamente i campi con il momento presente e vedere subito la conversione.

Copia i valori risultanti

Nella sezione Risultati, clicca l'icona di copia accanto a qualsiasi valore (Unix secondi, millisecondi, ISO 8601, UTC, ora locale) per copiarlo negli appunti e usarlo nel tuo codice.

Esplora i timestamp notevoli

La sidebar "Timestamp Notevoli" contiene riferimenti utili come Epoch 0, Y2K, Y2K38 e l'inizio/fine dell'anno corrente. Cliccaci sopra per caricarli istantaneamente nel convertitore.

Suggerimenti

  • Se non conosci il fuso orario di origine di un timestamp, usa il formato ISO 8601 con suffisso "Z" (es. 2024-01-15T12:00:00Z) che indica esplicitamente UTC e non lascia ambiguità.
  • La sezione "Cronologia" salva automaticamente le ultime 10 conversioni nel browser (localStorage): puoi ricaricarne una con un clic senza dover reinserire i valori.
  • Il campo Unix accetta anche i millisecondi: puoi incollare direttamente il valore di `Date.now()` di JavaScript e il convertitore lo rileva e gestisce automaticamente.

Domande frequenti

What is a Unix timestamp and what does it serve?

A Unix timestamp is an integer representing the seconds elapsed since January 1, 1970 at 00:00:00 UTC (known as the "Unix Epoch"). It is the standard format used in databases, REST APIs, system logs, and almost all programming languages to represent a moment in time unambiguously and independently of time zones.

How to convert a Unix timestamp into readable date with JavaScript?

In JavaScript you can use `new Date(timestamp * 1000)` if the timestamp is in seconds, or `new Date(timestampMs)` if it's already in milliseconds. To get an ISO 8601 string, use `.toISOString()`, for a local date format use `.toLocaleString('it-IT')`.

What is the difference between a Unix timestamp in seconds and milliseconds?

API Unix and most server languages (Python, PHP, Go) use seconds. JavaScript uses milliseconds with `Date.now()`. The converter automatically detects format: values over 10 billion are treated as milliseconds, otherwise as seconds.

What happens to 32-bit systems in 2038?

The Y2K38 problem affects systems that store the Unix timestamp as a 32-bit signed integer: the maximum value is 2,147,483,647, corresponding to January 19, 2038, 03:14:07 UTC. Beyond this value, the number overflows and becomes negative. Modern 64-bit systems do not have this issue and support dates up to February 292278994.

How do I get the current Unix timestamp in different languages?

Now.