This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
function:GMTOFFSET [2015/07/13 04:56] peternlewis created |
function:GMTOFFSET [2023/09/18 22:42] (current) peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== GMTOFFSET function ====== | ||
+ | |||
The GMTOFFSET() function returns the number of seconds from GMT. | The GMTOFFSET() function returns the number of seconds from GMT. | ||
+ | |||
+ | For example, to display the current GMT time, use token string like this: | ||
+ | |||
+ | ``` | ||
+ | %ICUDateTimeFor%NOW()-GMTOFFSET()%HH:mm% | ||
+ | ``` | ||
+ | |||
+ | ===== See Also ===== | ||
+ | |||
+ | === Actions === | ||
+ | |||
+ | * [[action:Filter|Filter]] (Process Text Tokens) | ||
+ | * [[:Actions|See all Actions]] | ||
+ | |||
+ | === Functions === | ||
+ | |||
+ | * [[function:DAY|DAY()]] | ||
+ | * [[function:DOW|DOW()]] | ||
+ | * [[function:JD2TIME|JD2TIME()]] | ||
+ | * [[function:MJD2TIME|MJD2TIME()]] | ||
+ | * [[function:NOW|NOW()]] (unixtime) | ||
+ | * [[function:TIME|TIME()]] (unixtime) | ||
+ | * [[function:TIME2JD|TIME2JD()]] | ||
+ | * [[function:TIME2MJD|TIME2MJD()]] | ||
+ | * [[:Functions|See all Functions]] | ||
+ | |||
+ | === Tokens === | ||
+ | |||
+ | * [[token:ICUDateTime|%ICUDateTime%]] (local) | ||
+ | * [[token:ICUDateTimeFor|%ICUDateTimeFor%]] (local) | ||
+ | * [[token:ICUDateTimeMinus|%ICUDateTimeMinus%]] (local) | ||
+ | * [[token:ICUDateTimePlus|%ICUDateTimePlus%]] (local) | ||
+ | * [[token:LongDate|%LongDate%]] (local) | ||
+ | * [[token:LongTime|%LongTime%]] (local) | ||
+ | * [[token:NumberDate|%NumberDate%]] (local) | ||
+ | * [[token:ShortDate|%ShortDate%]] (local) | ||
+ | * [[token:ShortTime|%ShortTime%]] (local) | ||
+ | * [[:Tokens|See all Tokens]] | ||
+ | |||
+ | === Topics === | ||
+ | |||
+ | - [[:Dates_and_Times|Dates and Times]] | ||
+ | - [[:JulianDate|JulianDate]] | ||
+ | - [[:unixtime]] in GMT | ||
+ |