Difference between revisions of "Documentation/How Tos/Calc: DATE function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE: DATE function}} |
+ | {{Documentation/CalcFunc DateTimeTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_SECOND_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_DATEVALUE_function | ||
+ | }}__NOTOC__ | ||
== DATE == | == DATE == | ||
returns the date, given the year, month and day of the month. | returns the date, given the year, month and day of the month. | ||
− | |||
=== Syntax: === | === Syntax: === | ||
Line 13: | Line 17: | ||
: If <tt>'''month'''</tt> and <tt>'''day'''</tt> are not within range for a valid date, the date will 'roll over', as shown below. | : If <tt>'''month'''</tt> and <tt>'''day'''</tt> are not within range for a valid date, the date will 'roll over', as shown below. | ||
− | |||
=== Example: === | === Example: === | ||
Line 28: | Line 31: | ||
: returns 8th March 2007 - the date rolls over, as there are only 12 months in a year | : returns 8th March 2007 - the date rolls over, as there are only 12 months in a year | ||
+ | {{SeeAlso|EN| | ||
+ | * [[Documentation/How_Tos/Calc: TIME function|TIME]] | ||
+ | * [[Documentation/How_Tos/Calc: DATEVALUE function|DATEVALUE]] | ||
− | + | * [[Documentation/How_Tos/Calc: Date & Time functions#Date and Time overview|Date & Time overview]] | |
− | + | ||
− | + | ||
− | + | * [[Documentation/How_Tos/Calc: Date & Time functions|Date & Time functions]] | |
− | + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | |
+ | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation/Reference/Calc/Date and Time functions]] |