function:TIME
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| function:TIME [2015/03/31 03:46] – peternlewis | function:TIME [2023/09/20 07:31] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | The TIME function returns the time in [[: | + | ====== TIME Function ====== |
| + | |||
| + | The TIME() function returns the time in [[: | ||
| + | |||
| + | TIME() === NOW() === the current unix time (GMT). | ||
| + | TIME( year, month, day ) === the unix time of the start of the year/ | ||
| + | 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 [[token: | ||
| + | |||
| + | %ICUDateTimeFor% TIME(2015, 8, 23,12,0,0) %EEE, MMM d, yyyy% | ||
| + | |||
| + | which will generally work anywhere since at midday GMT, the entire world (almost) is on the same date. Otherwise, folks with negative GMT offsets (which includes all of the Americas for example) will get the wrong result. | ||
| + | |||
| + | ===== See Also ===== | ||
| + | |||
| + | === Actions === | ||
| + | |||
| + | * [[: | ||
| + | |||
| + | === Functions === | ||
| + | |||
| + | * [[YEAR]] | ||
| + | * [[MONTH]] | ||
| + | * [[DAY]] | ||
| + | * [[DOW]] | ||
| + | * [[HOUR]] | ||
| + | * [[MINUTE]] | ||
| + | * [[SECOND]] | ||
| + | * [[TIME]] | ||
| + | * [[GMTOFFSET]] | ||
| + | * [[NOW]] | ||
| + | * [[TIME]] | ||
| + | * [[TIME2MJD]] | ||
| + | * [[JD]] | ||
| + | * [[JD2MJD]] | ||
| + | * [[JD2TIME]] | ||
| + | * [[MJD]] | ||
| + | * [[MJD2JD]] | ||
| + | * [[MJD2TIME]] | ||
| + | * [[: | ||
| + | |||
| + | === Tokens === | ||
| + | |||
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[: | ||
| + | |||
| + | === Topics === | ||
| + | |||
| + | - [[: | ||
| + | - [[: | ||
| + | - [[: | ||
| - | TIME() === NOW() === the current unix time | ||
| - | YEAR( year, month, day ) === the unix time of the start of the year/ | ||
| - | YEAR( year, month, day, hour, minute, second ) === the unix time of the specified moment | ||
function/TIME.1427773594.txt.gz · Last modified: by peternlewis
