TWiki::Time
$sDate
- date/time string
$epochSeconds
epochSecs GMT
$formatString
twiki time date format, default $TWiki::cfg{DefaultDateFormat} - $hour:$min
$outputTimeZone
timezone to display, gmtime
or servertime
, default is whatever is set in $TWiki::cfg{DisplayTimeValues}
$formatString
supports:
$seconds | secs |
$minutes | mins |
$hours | hours |
$day | date |
$wday | weekday name |
$dow | day number (0 = Sunday) |
$week | week number |
$month | month name |
$mo | month number |
$year | 4-digit year |
$ye | 2-digit year |
$http | ful HTTP header format date/time |
full email format date/time | |
$rcs | full RCS format date/time |
$epoch | seconds since 1st January 1970 |
$szInterval
- time interval string
interval ::= date { $$.start = fillStart($1); $$.end = fillEnd($1); } | date '/' date { $$.start = fillStart($1); $$.end = fillEnd($3); } | 'P' duration '/' date { $$.start = fillEnd($4)-$2; $$.end = fillEnd($4); } | date '/' 'P' duration { $$.start = fillStart($1); $$.end = fillStart($1)+$4; } ;an
interval
may be followed by a timezone specification string (this is not supported yet).
duration
has the form (regular expression):
P(<number><nameOfDuration>)+nameOfDuration may be one of:
date
follows ISO8601 and must include hypens. (any amount of trailing
elements may be omitted and will be filled in differently on the
differents ends of the interval as to include the longest possible
interval):
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiTimeDotPm. |