LibreOffice SymbolLibreOffice Symbol

Please support us!

ཚེས་

This function calculates a date specified by year, month, day and displays it in the cell's formatting. The default format of a cell containing the DATE function is the date format, but you can format the cells with any other number format.

ཚུག་སྦྱོར།

DATE(ལོ་; ཟླཝ་; ཉིནམ་)

ལོ་ འདི་ ༡༥༨༣ དང་ ༩༩༥༦ ཡང་ན་ ༠ དང་ ༩༩ བར་གྱི་ཧྲིལ་ཨང་ཨིན།

དྲན་འཛིན་ངོས་དཔར།

In - LibreOfficeDev - General you can set from which year a two-digit number entry is recognized as 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.

ཊི་ཨའི་པི་ངོས་དཔར།

To avoid ambiguity, always use four digits for years.


དྲན་འཛིན་ངོས་དཔར།

For Integer arguments, non-integer values are truncated to Integer.


དཔེར་བརྗོད་ཚུ།

=DATE(00;1;31) yields the date 2000-01-31 written as 01/31/00 if the cell format setting is MM/DD/YY.

Technical information

དྲན་འཛིན་ངོས་དཔར།

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