LibreOffice SymbolLibreOffice Symbol

Støtt oss!

DATO

Denne funksjonen reknar ut ein dato skrive som år, månad, dag og viser resultatet slik cella er formatert. Standardformatet for ei celle som inneheld DATO-funksjonen er datoformatet, men du kan formatera cella med kva talformat som helst.

Syntaks

DATO(År; Månad; Dag)

År er eit heiltal mellom 1583 og 9957 eller mellom 0 og 99.

Merknadsikon

I - LibreOfficeDev - Generelt kan du velja frå kva år eit tosifra tal skal verta oppfatta som 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.

Tipsikon

To avoid ambiguity, always use four digits for years.


Merknadsikon

For heiltalsargument vert desimaltal avkorta til heiltal.


Eksempel

=DATO(00;1;31) gjev datoen 2000-01-31 skrive som 1/31/00 viss celleformatinnstillinga er MM/DD/ÅÅ.

Teknisk informasjon

Merknadsikon

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