LibreOffice SymbolLibreOffice Symbol

Sostienici!

DATA

Questa funzione calcola una data specificate come anno, mese, giorno e la mostra nel formato scelto per la cella. Il formato predefinito di una cella contenente la funzione DATA è il formato data, ma potete formattare la cella in qualunque altro modo desideriate.

Sintassi

DATA(Anno; Mese; Giorno)

Anno è un intero compreso tra 1583 e 9957 o tra 0 e 99.

Icona di nota

In - LibreOfficeDev - Generale è possibile impostare da quale anno un numero a due cifre xx è riconosciuto come 20xx.


Month is an integer indicating the month. A value between 1 and 12.

Day is an integer indicating the day of the month. A value between 1 and 31.

If the values for month and day are out of bounds, they are carried over to the next digit. If you enter =DATE(2000;12;31) the result will be 2000-12-31. If, on the other hand, you enter =DATE(2000;13;31) the result will be 2001-01-31.

Icona di suggerimento

To avoid ambiguity, always use four digits for years.


Icona di nota

Per argomenti di numeri interi, i valori non interi vengono troncati al numero intero.


Esempi

=DATA(00;1;31) restituisce la data 2000-01-31 scritta come 31/01/00 se la formattazione di cella è GG/MM/AA.

Informazioni tecniche

Icona di nota

This function is part of the Open Document Format for Office Applications (OpenDocument) standard.