User Tools

Site Tools


syntax:functions:now
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
Next revision
syntax:functions:now [2021/07/31 01:31] craigt
Line 1: Line 1:
 +====== Now() ======
 +Category:  Date and Time function
  
 +\\ 
 +=====Description=====
 +This function returns the current date-time as a (date serial) number.
 +
 +\\ 
 +=====Arguments=====
 +This function does not require arguments.
 +
 +**Return value type:** Number (date serial value).
 +
 +\\ 
 +=====Remarks=====
 +In a date-time serial number, the whole number part of the value represents the //date// portion.  The decimal part of the number represents the //time// value (fractions of a 24-hour period).
 +
 +This function returns the current time at the time the workflow is run.
 +
 +\\ 
 +=====Examples=====
 +
 +  now() = 44408.0534446065 = July 31st, 2021 at 1:16:57 AM
 +  
 +  Time is a decimal fraction of a 24-hour period, so ".00" would be midnight, and ".50" would be noon.
 +  now() = 44408.00 = July 31st, 2021 at 12 midnight.
 +  now() = 44408.50 = July 31st, 2021 at 12 noon.
 +
 +
 +\\ 
 +===== See also =====
 +  * [[syntax:functions:today|Today()]]
syntax/functions/now.txt · Last modified: 2021/09/25 17:08 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki