From fa54dfb3b2cb0411cb31111cef51539bae8301b8 Mon Sep 17 00:00:00 2001 From: PeterThoeny Date: Fri, 28 Jul 2000 23:24:51 +0000 Subject: [PATCH] none --- TWiki/TWikiVariables.mdwn | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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% -- 1.9.4