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