Difference between revisions of "Manuals/calci/TODAY"
Jump to navigation
Jump to search
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | =TODAY() | + | <div style="font-size:30px">'''TODAY()'''</div><br/> |
− | + | **TODAY(), returns the serial number of todays date. | |
− | TODAY() | ||
== Description == | == Description == | ||
− | TODAY() | + | TODAY() displays the serial number of current date. |
*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. | *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. | ||
Line 13: | Line 12: | ||
== Examples == | == Examples == | ||
+ | 1) The output for TODAY() in ZOS is returned as below - | ||
<div id="6SpaceContent" class="zcontent" align="left"> | <div id="6SpaceContent" class="zcontent" align="left"> | ||
Line 42: | Line 42: | ||
|} | |} | ||
+ | |||
+ | 2) The output for TODAY() in Calci is returned as below - | ||
+ | |||
+ | =TODAY() : Displays '''Tue Mar 25 2014 01:00:00 GMT-0400 (Eastern Daylight Time)''' | ||
+ | |||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|v=IVBtyp8pOjI|280|center|Day}} | ||
== See Also == | == See Also == | ||
Line 52: | Line 61: | ||
*[http://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Dates_and_numbers#Date_formats Date Formats] | *[http://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Dates_and_numbers#Date_formats Date Formats] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | |||
+ | *[[ Z3 | Z3 home ]] |
Latest revision as of 14:58, 15 February 2019
TODAY()
- TODAY(), returns the serial number of todays date.
Description
TODAY() displays the serial number of current date.
- 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
1) The output for TODAY() in ZOS is returned as below -
Function | Output |
TODAY() | 41722 |
DAY(TODAY()) | 25 |
MONTH(TODAY()) | 3 |
YEAR(TODAY()) | 2014 |
2) The output for TODAY() in Calci is returned as below -
=TODAY() : Displays Tue Mar 25 2014 01:00:00 GMT-0400 (Eastern Daylight Time)
Related Videos
See Also
References