# Timestamp e ISO8601

### **ISO8601**

[ISO8601](https://en.wikipedia.org/wiki/ISO_8601) è uno standard internazionale per la formattazione di date e ore, spesso utilizzato dai database.

Usa "as iso8601" per convertire in questo formato:

```
April 1, 2019 3:30pm as iso8601 | 2019-04-01T15:30:00+11:00
```

Usa "to date" per convertire in un formato data regolare:

```
2019-04-01T15:30:00 to date | 1 April 2019 at 3:30 pm
```

### **Timestamp**

[Unix time](https://en.wikipedia.org/wiki/Unix_time) è un sistema per descrivere un momento nel tempo, spesso utilizzato nella programmazione. Un timestamp è il numero di secondi trascorsi dal "data di riferimento" (1 gennaio 1970).

```
April 1, 2019 to timestamp | 1554109200
1559740303.48 to date      | 5 June 2019 at 11:11 pm
```

Per ottenere un timestamp per il momento attuale, usa **current timestamp**

```
current timestamp | 1559740303.48
```

#### **Timestamp in millisecondi**

È possibile convertire anche i timestamp in millisecondi in date

```
1733823083000 to date | 10 December 2024 at 8:31:23 pm
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.soulver.app/it/riferimento-sintassi/dates/timestamps-and-iso8601.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
