Difference between revisions of "Manuals/calci/TODAY"
Jump to navigation
Jump to search
(Created page with "<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify"> Syntax </div></div> ---- <div id="2SpaceContent" align="left"><div class="ZEditBox" align=...") |
|||
Line 1: | Line 1: | ||
− | + | =TODAY()= | |
− | + | TODAY() displays the serial number of current date. | |
− | + | == Description == | |
− | |||
− | |||
− | + | TODAY() | |
− | + | *Dates are stored in the form of sequential numbers so that they can be used in calculations. e.g. January 1, 1900 is stored as serial number 1 and so on. | |
− | + | *Output value represents the serial number of current date. | |
− | + | *This function does not have any arguments. | |
− | + | *NOW() function can be used to display the serial numbers of current date and time. | |
− | |||
− | + | == Examples == | |
− | + | <div id="6SpaceContent" class="zcontent" align="left"> | |
− | |||
− | <div id=" | ||
− | + | {| id="TABLE3" class="SpreadSheet blue" | |
+ | |- class="even" | ||
+ | | class=" " | '''Function''' | ||
+ | | class=" " | '''Output''' | ||
− | + | |- class="odd" | |
− | - | + | | class="sshl_f" |TODAY() |
− | + | | class="sshl_f" |41722 | |
− | |||
− | |||
− | + | |- class="even" | |
+ | | class="sshl_f" |DAY(TODAY()) | ||
+ | | class="sshl_f" |25 | ||
− | + | |- class="odd" | |
+ | | class="sshl_f" |MONTH(TODAY()) | ||
+ | | class="sshl_f" |3 | ||
− | + | |- class="even" | |
− | - | + | | class="sshl_f" |YEAR(TODAY()) |
− | + | | class="sshl_f" |2014 | |
− | |||
|- class="even" | |- class="even" | ||
− | + | | class="sshl_f" | | |
− | + | | class="sshl_f" | | |
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | | class="sshl_f" | | ||
− | | class=" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | + | == See Also == | |
− | + | ||
− | + | *[[Manuals/calci/NOW | NOW]] | |
+ | *[[Manuals/calci/DATE | DATE]] | ||
+ | *[[Manuals/calci/TIME | TIME]] | ||
− | + | ==References== | |
− | + | *[http://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Dates_and_numbers#Date_formats Date Formats] | |
− |
Revision as of 15:20, 24 March 2014
TODAY()
TODAY() displays the serial number of current date.
Description
TODAY()
- Dates are stored in the form of sequential numbers so that they can be used in calculations. e.g. January 1, 1900 is stored as serial number 1 and so on.
- Output value represents the serial number of current date.
- This function does not have any arguments.
- NOW() function can be used to display the serial numbers of current date and time.
Examples
Function | Output |
TODAY() | 41722 |
DAY(TODAY()) | 25 |
MONTH(TODAY()) | 3 |
YEAR(TODAY()) | 2014 |