Difference between revisions of "Manuals/calci/TODAY"

From ZCubes Wiki
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:
<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
=TODAY()=
  
Syntax
+
TODAY() displays the serial number of current date.
  
</div></div>
+
== Description ==
----
 
<div id="2SpaceContent" align="left"><div class="ZEditBox" align="justify">
 
  
Examples
+
TODAY()
  
</div></div>
+
*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.
<div id="8SpaceContent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman">''''''''''''<font size="6"> </font>''' '''''''''</font>'''</div></div>
+
*This function does not have any arguments.
----
+
*NOW() function can be used to display the serial numbers of current date and time.
<div id="11SpaceContent" align="left"><div class="ZEditBox mceEditable" align="justify">
 
  
<font size="5">Description</font>
+
== Examples ==
  
</div></div>
+
<div id="6SpaceContent" class="zcontent" align="left">
----
 
<div id="5SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"> 
 
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">This function  gives the serial number of the current date. </font></font></font>
+
{| id="TABLE3" class="SpreadSheet blue"
 +
|- class="even"
 +
| class="  " | '''Function'''
 +
| class=" " | '''Output'''
  
</div></div>
+
|- class="odd"
----
+
| class="sshl_f" |TODAY()
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"><font size="6">TODAY</font></div></div>
+
| class="sshl_f" |41722
----
 
<div id="9SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"
 
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">Let's see an example in Column1Row1</font></font></font>
+
|- class="even"
 +
| class="sshl_f" |DAY(TODAY())
 +
| class="sshl_f" |25
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">I.e =Today() gives the curent date .</font></font></font>
+
|- class="odd"
 +
| class="sshl_f" |MONTH(TODAY())
 +
| class="sshl_f" |3
  
</div></div>
+
|- class="even"
----
+
| class="sshl_f" |YEAR(TODAY())
<div id="12SpaceContent" class="zcontent" align="left">
+
| class="sshl_f" |2014
  
{| id="TABLE1" class="SpreadSheet blue"
 
 
|- class="even"
 
|- class="even"
| class=" " |
+
| class="sshl_f" |
| Column1
+
| class="sshl_f" |
| Column2
+
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f" | Wed Jan 16 00:00:00 UTC+0530 2008
 
| class="               sshl_f " |
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| class="  " | Row2
 
| class="f52543                                                                                                                                      " |
 
| class="  SelectTD" |
 
<div id="12Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="12Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
| class=" " |
 
| class=" " |
 
|- class="odd"
 
| Row3
 
| class="  " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| Row4
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="odd"
 
| class=" " | Row5
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| Row6
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
 
|}
 
|}
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
== See Also ==
----
+
 
<div id="6SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"> 
+
*[[Manuals/calci/NOW | NOW]]
 +
*[[Manuals/calci/DATE | DATE]]
 +
*[[Manuals/calci/TIME | TIME]]
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">'''TODAY'''</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">( )</font></font></font>
+
==References==
  
</div></div>
+
*[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

See Also

References