DATE
Converte un valore stringa in una data.
Sintassi
DATE(value)
Argomenti
| Nome | Tipo | Descrizione | Valore predefinito |
|---|---|---|---|
| valore | stringa |
Restituisce
Restituisce un valore date.
Esempi
| valore | Output |
|---|---|
| "2022-02-01" | data "2022-02-01" |
| timestamp "2022-02-01 00:00:00" | date "2022-02-01" |
| timestamp "2022-01-01 00:30:00" | date "2022-01-01" |