data/TWiki/VarGMTIME2.txt,v
changeset 0 414e01d06fd5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/data/TWiki/VarGMTIME2.txt,v	Sat Jan 26 15:50:53 2008 +0100
     1.3 @@ -0,0 +1,94 @@
     1.4 +head	1.3;
     1.5 +access;
     1.6 +symbols;
     1.7 +locks; strict;
     1.8 +comment	@# @;
     1.9 +
    1.10 +
    1.11 +1.3
    1.12 +date	2008.01.22.03.21.31;	author TWikiContributor;	state Exp;
    1.13 +branches;
    1.14 +next	1.2;
    1.15 +
    1.16 +1.2
    1.17 +date	2007.01.16.04.11.57;	author TWikiContributor;	state Exp;
    1.18 +branches;
    1.19 +next	1.1;
    1.20 +
    1.21 +1.1
    1.22 +date	2006.06.25.16.26.28;	author TWikiContributor;	state Exp;
    1.23 +branches;
    1.24 +next	;
    1.25 +
    1.26 +
    1.27 +desc
    1.28 +@buildrelease
    1.29 +@
    1.30 +
    1.31 +
    1.32 +1.3
    1.33 +log
    1.34 +@buildrelease
    1.35 +@
    1.36 +text
    1.37 +@%META:TOPICINFO{author="TWikiContributor" date="1174329144" format="1.1" version="3"}%
    1.38 +%META:TOPICPARENT{name="TWikiVariables"}%
    1.39 +#VarGMTIME2
    1.40 +
    1.41 +---+++ GMTIME{"format"} -- formatted GM time
    1.42 +   * Syntax: =%<nop>GMTIME{"format"}%=
    1.43 +   * Supported variables:
    1.44 +     | *Variable:* | *Unit:* | *Example* |
    1.45 +     | =$seconds= | seconds | 59 |
    1.46 +     | =$minutes= | minutes | 59 |
    1.47 +     | =$hours= | hours | 23 |
    1.48 +     | =$day= | day of month | 31 |
    1.49 +     | =$wday= | day of the Week (Sun, Mon, Tue, Wed, Thu, Fri, Sat) | Thu |
    1.50 +     | =$dow= | day of the week (Sun = 0) | 2  |
    1.51 +     | =$week= | number of week in year (ISO 8601) | 34 |
    1.52 +     | =$month= | short name of month | Dec |
    1.53 +     | =$mo= | 2 digit month | 12 |
    1.54 +     | =$year= | 4 digit year | 1999 |
    1.55 +     | =$ye= | 2 digit year | 99 |
    1.56 +     | =$tz= | either "GMT" (if set to gmtime), or "Local" (if set to servertime) | GMT |
    1.57 +     | =$iso= | ISO format timestamp | %GMTIME{"$iso"}% |
    1.58 +     | =$rcs= | RCS format timestamp | %GMTIME{"$rcs"}% |
    1.59 +     | =$http= | E-mail & http format timestamp | %GMTIME{"$http"}% |
    1.60 +     | =$epoch= | Number of seconds since 00:00 on 1st January, 1970 | %GMTIME{"$epoch"}% |
    1.61 +   * Variables can be shortened to 3 characters
    1.62 +   * Example: =%<nop>GMTIME{"$day $month, $year - $hour:$min:$sec"}%= expands to =%GMTIME{"$day $month, $year - $hour:$min:$sec"}%=
    1.63 +   * __%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.
    1.64 +   * 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]]
    1.65 +
    1.66 +@
    1.67 +
    1.68 +
    1.69 +1.2
    1.70 +log
    1.71 +@buildrelease
    1.72 +@
    1.73 +text
    1.74 +@d1 1
    1.75 +a1 1
    1.76 +%META:TOPICINFO{author="TWikiContributor" date="1158898025" format="1.2" version="2"}%
    1.77 +d16 1
    1.78 +a16 1
    1.79 +     | =$month= | month in ISO format | Dec |
    1.80 +d28 1
    1.81 +a28 1
    1.82 +   * Related: [[#VarDISPLAYTIME][DISPLAYTIME]], [[#VarGMTIME][GMTIME]], [[#VarREVINFO2][REVINFO]], [[#VarSERVERTIME][SERVERTIME]]
    1.83 +@
    1.84 +
    1.85 +
    1.86 +1.1
    1.87 +log
    1.88 +@buildrelease
    1.89 +@
    1.90 +text
    1.91 +@d1 1
    1.92 +a1 1
    1.93 +%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="1"}%
    1.94 +d28 1
    1.95 +a28 1
    1.96 +   * Related: [[#VarDISPLAYTIME][DISPLAYTIME]], [[#VarGMTIME][GMTIME]], [[#VarSERVERTIME][SERVERTIME]]
    1.97 +@