X-Git-Url: https://git.openafs.org/?p=openafs-wiki.git;a=blobdiff_plain;f=TWiki%2FTWikiVariables.mdwn;h=107294392b7e5bc30630d26b75b18919e57f9320;hp=e929469956672e523218074b3be6cab507be0d19;hb=fa54dfb3b2cb0411cb31111cef51539bae8301b8;hpb=e1391f8090e9d0267ef9669e10b2ebc146e6246a diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn index e929469..1072943 100644 --- a/TWiki/TWikiVariables.mdwn +++ b/TWiki/TWikiVariables.mdwn @@ -58,12 +58,20 @@ TWiki expands the following variables enclosed in % percent signs: The current topic name, is %TOPIC% - %DATE% - Todays date (local server time), is 29 Jun 2010 + %GMTIME% + GM time, is 29 Jun 2010 - 15:24 - %GMTIME% - Todays date (GM time), is 29 Jun 2010 - 15:24 + %GMTIME{"format"}% + Formatted GM time based on keywords (first three characters needed.)
Example: %GMTIME{"day month, year - hour:min:sec"}% is day month, year - hour:min:sec + + + %SERVERTIME% + Server time, is 29 Jun 2010 - 11:24 + + + %SERVERTIME{"format"}% + Formatted server time. Example: %SERVERTIME{"hou:min"}% is hou:min %HTTP_HOST%