LibreOffice SymbolLibreOffice Symbol

¡Necesitamos su ayuda!

FECHA

Este función calcula una fecha, especificada por año, mes, día y lo muestra en el formato de la celda. El formato predeterminado de una celda que contiene la función DATE es el formato de fecha, pero puede formatearlo las celdas con cualquier otro formato numérico.

Sintaxis

FECHA(Año; Mes; Día)

Año es un entero entre 1583 y 9957 o entre 0 y 99.

Icono de nota

En  ▸ LibreOfficeDev ▸ Generales puede establecer desde qué año se reconocerá la introducción de un número de dos dígitos como 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.

Icono de consejo

To avoid ambiguity, always use four digits for years.


Icono de nota

En el caso de los argumentos de tipo entero, los valores que no sean enteros se truncan al entero.


Ejemplos

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

Información técnica

Icono de nota

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