User Tools

Site Tools


syntax:functions:today

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
syntax:functions:today [2015/04/03 19:46] elenapsyntax:functions:today [2021/08/30 02:55] (current) craigt
Line 1: Line 1:
-===== Today() =====+====== Today() =====
 +Category:  Date and Time function
  
-Returns today's date represented as a number.+\\  
 +=====Description===== 
 +This function returns today's date as a date serial number.
  
-^  Example  ^  Result  ^  Notes  ^ +\\  
-| today()  |  42097  |  Example run on April 4th, 2015  |+=====Arguments===== 
 +This function does not require arguments.
  
 +**Return value type:** Number (date serial value).
 +
 +\\ 
 +=====Remarks=====
 +This function returns the current date at the time the workflow is run.  Each time the workflow is run, the date value updates to the present value.
 +
 +Note that this function differs from the [[syntax:functions:now|Now()]] function by only returning the //date// portion of the current date, instead of returning both the date and time components.
 +
 +\\ 
 +=====Examples=====
 +
 +  today()  //Returns 42097 (Example run on April 4th, 2015.)
 +  
 +\\ 
 +===== See also =====
 +  * [[syntax:functions:now|Now()]]
  
syntax/functions/today.1428104784.txt.gz · Last modified: 2015/04/03 19:46 by elenap

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki