System wiki web
- Toolbox
-
Users
-
Groups?
-
Index
-
Search
-
Changes
-
Notifications
-
RSS Feed
-
Statistics
-
Preferences
- User Reference
- BeginnersStartHere
- TextFormattingRules
- Macros
- FormattedSearch
- QuerySearch
- DocumentGraphics
- SkinBrowser
- InstalledPlugins
GMTIME{"format"} -- formatted GM time
- Syntax:
%GMTIME%OR%GMTIME{"format"}% -
%GMTIME%uses the default date format defined by the {DefaultDateFormat} setting in configure- expands to 25 May 2012 - 03:19
- Supported special format tokens:
Token: Unit: Example $secondsseconds 59 $minutesminutes 59 $hourshours 23 $dayday of month 31 $wdayday of the Week (Sun, Mon, Tue, Wed, Thu, Fri, Sat) Thu $dowday of the week (Sun = 0) 2 $weeknumber of week in year (ISO 8601) 34 $monthshort name of month Dec $mo2 digit month 12 $year4 digit year 1999 $ye2 digit year 99 $tzeither "GMT" (if set to gmtime), or "Local" (if set to servertime) GMT $isoISO format timestamp 2012-05-25T03:19:32Z $rcsRCS format timestamp 2012/05/25 03:19:32 $httpE-mail & http format timestamp Fri, 25 May 2012 03:19:32 GMT $epochNumber of seconds since 00:00 on 1st January, 1970 1337915972 - Tokens can be shortened to 3 characters
- Example:
%GMTIME{"$day $month, $year - $hour:$min:$sec"}%expands to25 May, 2012 - 03:19:32 -
When used in a template topic, this macro will be expanded when the template is used to create a new topic. See TemplateTopics#TemplateTopicsVars for details.
- Related: GMTIME, REVINFO, SERVERTIME
