data/TWiki/VarGMTIME2.txt,v
changeset 0 414e01d06fd5
equal deleted inserted replaced
-1:000000000000 0:414e01d06fd5
       
     1 head	1.3;
       
     2 access;
       
     3 symbols;
       
     4 locks; strict;
       
     5 comment	@# @;
       
     6 
       
     7 
       
     8 1.3
       
     9 date	2008.01.22.03.21.31;	author TWikiContributor;	state Exp;
       
    10 branches;
       
    11 next	1.2;
       
    12 
       
    13 1.2
       
    14 date	2007.01.16.04.11.57;	author TWikiContributor;	state Exp;
       
    15 branches;
       
    16 next	1.1;
       
    17 
       
    18 1.1
       
    19 date	2006.06.25.16.26.28;	author TWikiContributor;	state Exp;
       
    20 branches;
       
    21 next	;
       
    22 
       
    23 
       
    24 desc
       
    25 @buildrelease
       
    26 @
       
    27 
       
    28 
       
    29 1.3
       
    30 log
       
    31 @buildrelease
       
    32 @
       
    33 text
       
    34 @%META:TOPICINFO{author="TWikiContributor" date="1174329144" format="1.1" version="3"}%
       
    35 %META:TOPICPARENT{name="TWikiVariables"}%
       
    36 #VarGMTIME2
       
    37 
       
    38 ---+++ GMTIME{"format"} -- formatted GM time
       
    39    * Syntax: =%<nop>GMTIME{"format"}%=
       
    40    * Supported variables:
       
    41      | *Variable:* | *Unit:* | *Example* |
       
    42      | =$seconds= | seconds | 59 |
       
    43      | =$minutes= | minutes | 59 |
       
    44      | =$hours= | hours | 23 |
       
    45      | =$day= | day of month | 31 |
       
    46      | =$wday= | day of the Week (Sun, Mon, Tue, Wed, Thu, Fri, Sat) | Thu |
       
    47      | =$dow= | day of the week (Sun = 0) | 2  |
       
    48      | =$week= | number of week in year (ISO 8601) | 34 |
       
    49      | =$month= | short name of month | Dec |
       
    50      | =$mo= | 2 digit month | 12 |
       
    51      | =$year= | 4 digit year | 1999 |
       
    52      | =$ye= | 2 digit year | 99 |
       
    53      | =$tz= | either "GMT" (if set to gmtime), or "Local" (if set to servertime) | GMT |
       
    54      | =$iso= | ISO format timestamp | %GMTIME{"$iso"}% |
       
    55      | =$rcs= | RCS format timestamp | %GMTIME{"$rcs"}% |
       
    56      | =$http= | E-mail & http format timestamp | %GMTIME{"$http"}% |
       
    57      | =$epoch= | Number of seconds since 00:00 on 1st January, 1970 | %GMTIME{"$epoch"}% |
       
    58    * Variables can be shortened to 3 characters
       
    59    * Example: =%<nop>GMTIME{"$day $month, $year - $hour:$min:$sec"}%= expands to =%GMTIME{"$day $month, $year - $hour:$min:$sec"}%=
       
    60    * __%X% Note:__ When used in a template topic, this variable will be expanded when the template is used to create a new topic. See TWikiTemplates#TemplateTopicsVars for details.
       
    61    * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarDISPLAYTIME][DISPLAYTIME]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarGMTIME][GMTIME]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarREVINFO2][REVINFO]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSERVERTIME][SERVERTIME]]
       
    62 
       
    63 @
       
    64 
       
    65 
       
    66 1.2
       
    67 log
       
    68 @buildrelease
       
    69 @
       
    70 text
       
    71 @d1 1
       
    72 a1 1
       
    73 %META:TOPICINFO{author="TWikiContributor" date="1158898025" format="1.2" version="2"}%
       
    74 d16 1
       
    75 a16 1
       
    76      | =$month= | month in ISO format | Dec |
       
    77 d28 1
       
    78 a28 1
       
    79    * Related: [[#VarDISPLAYTIME][DISPLAYTIME]], [[#VarGMTIME][GMTIME]], [[#VarREVINFO2][REVINFO]], [[#VarSERVERTIME][SERVERTIME]]
       
    80 @
       
    81 
       
    82 
       
    83 1.1
       
    84 log
       
    85 @buildrelease
       
    86 @
       
    87 text
       
    88 @d1 1
       
    89 a1 1
       
    90 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="1"}%
       
    91 d28 1
       
    92 a28 1
       
    93    * Related: [[#VarDISPLAYTIME][DISPLAYTIME]], [[#VarGMTIME][GMTIME]], [[#VarSERVERTIME][SERVERTIME]]
       
    94 @