Difference between revisions of "Documentation/How Tos/Calc: TODAY function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
(12 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE: TODAY function}} |
+ | {{Documentation/CalcFunc DateTimeTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_Date_%26_Time_functions | ||
+ | |NextPage=Documentation/How_Tos/Calc:_NOW_function | ||
+ | }}__NOTOC__ | ||
== TODAY == | == TODAY == | ||
− | Returns the current date | + | Returns the current date |
− | |||
=== Syntax: === | === Syntax: === | ||
<tt>'''TODAY()'''</tt> | <tt>'''TODAY()'''</tt> | ||
: returns the current date (as a date-time serial number). <tt>'''TODAY'''</tt> is updated at every recalculation, for instance if a cell is modified. | : returns the current date (as a date-time serial number). <tt>'''TODAY'''</tt> is updated at every recalculation, for instance if a cell is modified. | ||
− | |||
=== Example: === | === Example: === | ||
Line 14: | Line 17: | ||
: when calculated at say 12 noon on 1Apr08 returns 1Apr08. | : when calculated at say 12 noon on 1Apr08 returns 1Apr08. | ||
+ | {{SeeAlso|EN| | ||
+ | * [[Documentation/How_Tos/Calc: NOW function|NOW]] | ||
+ | * [[Documentation/How_Tos/Calc: DATE function|DATE]] | ||
+ | * [[Documentation/How_Tos/Calc: TIME function|TIME]] | ||
− | + | * [[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]] |
Latest revision as of 13:41, 30 January 2024
TODAY
Returns the current date
Syntax:
TODAY()
- returns the current date (as a date-time serial number). TODAY is updated at every recalculation, for instance if a cell is modified.
Example:
TODAY()
- when calculated at say 12 noon on 1Apr08 returns 1Apr08.
See Also