function:TIME
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| function:TIME [2016/04/20 12:07] – add internal links AlainLifchitz | function:TIME [2023/09/20 07:31] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | The [[function:TIME|TIME()]] function returns the time in [[: | + | ====== |
| + | |||
| + | The TIME() function returns the time in [[: | ||
| 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%]] |
| %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 13: | Line 15: | ||
| ===== See Also ===== | ===== See Also ===== | ||
| - | ---- | + | === Actions === |
| - | === Functions === | + | * [[: |
| - | * [[function: | + | === Functions === |
| - | * [[function:DOW|DOW()]] | + | |
| - | * [[function: | + | * [[YEAR]] |
| - | * [[function: | + | * [[MONTH]] |
| - | * [[function: | + | * [[DAY]] |
| - | * [[function: | + | * [[DOW]] |
| - | * [[function:TIME2MJD|TIME2MJD()]] | + | * [[HOUR]] |
| + | * [[MINUTE]] | ||
| + | * [[SECOND]] | ||
| + | * [[TIME]] | ||
| + | * [[GMTOFFSET]] | ||
| + | * [[NOW]] | ||
| + | * [[TIME]] | ||
| + | * [[TIME2MJD]] | ||
| + | * [[JD]] | ||
| + | * [[JD2MJD]] | ||
| + | * [[JD2TIME]] | ||
| + | * [[MJD]] | ||
| + | * [[MJD2JD]] | ||
| + | * [[MJD2TIME]] | ||
| * [[: | * [[: | ||
| === Tokens === | === Tokens === | ||
| - | * [[token: | + | * [[token: |
| - | * [[token: | + | * [[token: |
| - | * [[token: | + | * [[token: |
| - | * [[token: | + | * [[token: |
| * [[token: | * [[token: | ||
| * [[token: | * [[token: | ||
| Line 44: | Line 59: | ||
| - [[: | - [[: | ||
| - [[: | - [[: | ||
| - | |||
| - | ---- | ||
| - | |||
| - | ==== Forum ==== | ||
| - | ==== External References ==== | ||
function/TIME.1461154034.txt.gz · Last modified: by AlainLifchitz
