User Tools

Site Tools


function:TIME

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
function:TIME [2016/04/20 08:28]
AlainLifchitz add internal links
function:TIME [2016/04/27 03:08]
alain cosmetic change
Line 5: Line 5:
     TIME( year, month, day, hour, minute, second ) === the unix time of the specified moment (GMT).     TIME( year, month, day, hour, minute, second ) === the unix time of the specified moment (GMT).
  
-Keep in mind that TIME is in GMT and the output of ICUDateTimeFor is in local time, so when doing this sort of thing it is best to use midday instead of midnight:+Keep in mind that TIME is in GMT and the output of [[token:ICUDateTimeFor|%ICUDateTimeFor%]] ​is in local time, so when doing this sort of thing it is best to use midday instead of midnight:
  
 %ICUDateTimeFor% TIME(2015, 8, 23,12,0,0) %EEE, MMM d, yyyy% %ICUDateTimeFor% TIME(2015, 8, 23,12,0,0) %EEE, MMM d, yyyy%
Line 23: Line 23:
 === Functions === === Functions ===
  
-* [[function:​DAY|DAY()]]+* [[function:​DAY|DAY()]] ​
 * [[function:​DOW|DOW()]] * [[function:​DOW|DOW()]]
 +* [[function:​GMTOFFSET|GMTOFFSET()]]
 * [[function:​JD2TIME|JD2TIME()]] * [[function:​JD2TIME|JD2TIME()]]
 * [[function:​MJD2TIME|MJD2TIME()]] * [[function:​MJD2TIME|MJD2TIME()]]
Line 34: Line 35:
 === Tokens === === Tokens ===
  
-* [[token:​ICUDateTime|%ICUDateTime%]] +* [[token:​ICUDateTime|%ICUDateTime%]] ​(local) 
-* [[token:​ICUDateTimeFor|%ICUDateTimeFor%]] +* [[token:​ICUDateTimeFor|%ICUDateTimeFor%]] ​(local) 
-* [[token:​ICUDateTimeMinus|%ICUDateTimeMinus%]] +* [[token:​ICUDateTimeMinus|%ICUDateTimeMinus%]] ​(local) 
-* [[token:​ICUDateTimePlus|%ICUDateTimePlus%]]+* [[token:​ICUDateTimePlus|%ICUDateTimePlus%]] ​(local)
 * [[token:​LongDate|%LongDate%]] (local) * [[token:​LongDate|%LongDate%]] (local)
 * [[token:​LongTime|%LongTime%]] (local) * [[token:​LongTime|%LongTime%]] (local)
function/TIME.txt · Last modified: 2023/09/20 03:31 by peternlewis