Difference between revisions of "Manuals/calci/NOW"

From ZCubes Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
NOW()
 
NOW()
  
*Dates are stored in the form of sequential numbers as to 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.
 
*Numbers to the left of decimal point represent serial number of current date.
 
*Numbers to the left of decimal point represent serial number of current date.
 
*Numbers to the right of decimal point represent serial number of current time.
 
*Numbers to the right of decimal point represent serial number of current time.
Line 29: Line 29:
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
+
|}
}
 
  
 
== See Also ==
 
== See Also ==

Revision as of 15:02, 24 March 2014

NOW()

NOW() displays the serial number of current date and time.

Description

NOW()

  • 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.
  • Numbers to the left of decimal point represent serial number of current date.
  • Numbers to the right of decimal point represent serial number of current time.
  • This function does not have any arguments.
  • TODAY() function can be used to display the serial number of today's date only.

Examples

Function Output
NOW() 41722.70444444445

See Also

References