User Tools

Site Tools


syntax:functions:now

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
syntax:functions:now [2021/08/11 14:32] – [Examples] dmitrysyntax:functions:now [2021/09/25 17:08] (current) – [Description] craigt
Line 4: Line 4:
 \\  \\ 
 =====Description===== =====Description=====
-This function returns the current date-time as a (date serialnumber.+This function returns the current date-time as a date serial number.
  
 \\  \\ 
Line 21: Line 21:
 =====Examples===== =====Examples=====
  
-  now() = 44408.0534446065 July 31st, 2021 at 1:16:57 AM+  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. +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.00 // July 31st, 2021 at 12 midnight.
  
-  now() = 44408.50 July 31st, 2021 at 12 noon.+  now() = 44408.50 // July 31st, 2021 at 12 noon.
  
 \\  \\ 
 ===== See also ===== ===== See also =====
   * [[syntax:functions:today|Today()]]   * [[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