User Tools

Site Tools


syntax:functions:localtime
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:localtime [2021/08/30 02:24] craigt
Line 1: Line 1:
 +====== LocalTime(date) ======
 +Category:  Date and Time function
 +
 +\\ 
 +=====Description=====
 +This function converts a UTC date-time into a local date-time.
 +
 +\\ 
 +=====Arguments=====
 +^Argument^Type^Description^
 +|date|Date or Number (date serial)|An expression representing a date.  The UTC date-time value to convert to a local date-time value.|
 +
 +**Return value type:** Number (date-time serial)
 +
 +\\ 
 +=====Examples=====
 +
 +  format( localtime(#2019-01-01), 'yyyy-MM-dd' )  //Returns '2018-12-31' (Executed in the EST zone (UTC-05:00))
 +
 +\\ 
 +=====See also=====
 +  * [[syntax:functions:weekend|Format(date,format)]]
  
syntax/functions/localtime.txt · Last modified: 2021/08/30 02:32 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki