Difference: TWikiVariables (18 vs. 19)

Revision 1920 Jan 2001 - PeterThoeny

Line: 42 to 42
 
%WEB% The current web, is TWiki
Added:
>
>
%BASEWEB% The web name where the includes started, e.g. the web of the first topic of nested includes. Same as %WEB% in case there is no include.
%INCLUDINGWEB% The web name of the topic that includes the current topic. Same as %WEB% in case there is no include.
 
%TOPIC% The current topic name, is TWikiVariables
Added:
>
>
%BASETOPIC% The name of the topic where the includes started, e.g. the first topic of nested includes. Same as %TOPIC% in case there is no include.
%INCLUDINGTOPIC% The name of the topic that includes the current topic. Same as %TOPIC% in case there is no include.
 
%SPACEDTOPIC% The current topic name with added spaces, for regular expression search of Ref-By, is TWiki%20*Variables
Line: 52 to 64
 
GM time, is 28 Mar 2024 - 21:38
%GMTIME{"format"}%
Changed:
<
<
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
>
>
Formatted GM time based on time variables.
Variable: Unit: Example
$seconds seconds 59
$minutes minutes 59
$hours hours 23
$day day of month 31
$month month in ISO format Dec
$mo 2 digit month 12
$year 4 digit year 1999
$ye 2 digit year 99
Variables can be shortened to 3 characters. Example:
%GMTIME{"$day $month, $year - $hour:$min:$sec"}% is
28 Mar, 2024 - 21:38:24
 
%SERVERTIME% Server time, is 28 Mar 2024 - 18:38
%SERVERTIME{"format"}%
Changed:
<
<
Formatted server time. Example: %SERVERTIME{"hou:min"}% is hou:min
>
>
Formatted server time.
Example: %SERVERTIME{"$hou:$min"}% is 18:38
 
%HTTP_HOST% HTTP_HOST environment variable, is www.twiki.ufba.br
 
This site is powered by the TWiki collaboration platformCopyright � by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiVariables