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
function:TIME [2016/04/20 08:28]
AlainLifchitz add internal links
function:TIME [2023/09/20 03:31] (current)
peternlewis
Line 1: Line 1:
-The [[function:TIME|TIME()]] function returns the time in [[:​unixtime]],​ being seconds since the start of 1970 GMT.+====== ​TIME Function ====== 
 + 
 +The TIME() function returns the time in [[:​unixtime]],​ being seconds since the start of 1970 GMT.
  
     TIME() === NOW() === the current unix time (GMT).     TIME() === NOW() === the current unix time (GMT).
Line 5: Line 7:
     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 12: Line 14:
  
 ===== See Also ===== ===== See Also =====
- 
----- 
  
 === Actions === === Actions ===
  
-* [[action:​Filter Clipboard|Filter Clipboard]] (Process Text Tokens) 
-* [[action:​Filter Variable|Filter Variable]] (Process Text Tokens) 
 * [[:​Actions|See all Actions]] * [[:​Actions|See all Actions]]
  
-=== Functions ===+=== Functions === 
  
-* [[function:​DAY|DAY()]] +* [[YEAR]] 
-* [[function:DOW|DOW()]] +* [[MONTH]] 
-* [[function:​JD2TIME|JD2TIME()]] +* [[DAY]] 
-* [[function:​MJD2TIME|MJD2TIME()]] +* [[DOW]] 
-* [[function:​NOW|NOW()]] +* [[HOUR]] 
-* [[function:​TIME2JD|TIME2JD()]] +* [[MINUTE]] 
-* [[function:TIME2MJD|TIME2MJD()]]+* [[SECOND]] 
 +* [[TIME]] 
 +* [[GMTOFFSET]] 
 +* [[NOW]] 
 +* [[TIME]] 
 +* [[TIME2MJD]] 
 +* [[JD]] 
 +* [[JD2MJD]] 
 +* [[JD2TIME]] 
 +* [[MJD]] 
 +* [[MJD2JD]] 
 +* [[MJD2TIME]]
 * [[:​Functions|See all Functions]] * [[:​Functions|See all Functions]]
  
 === 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)
Line 50: Line 59:
 - [[:​JulianDate|JulianDate]] - [[:​JulianDate|JulianDate]]
 - [[:​unixtime]] in GMT - [[:​unixtime]] in GMT
- 
----- 
- 
-==== Forum ==== 
  
  
-==== External References ==== 
function/TIME.1461155298.txt.gz · Last modified: 2016/04/20 08:28 by AlainLifchitz