SERVERTIME -- formatted server time

Same format parameters as Var GMTIME[GMTIME%]], but displaying the server time instead of UTC.

Examples

  • %SERVERTIME% elsnds to 06 Dec 2021 - 14:57
  • %SERVERTIME{"$hou:$min"}% expands to 14:57
ALERT! Note: When used in a template topic, this macro will be expanded when the template is used to create a new topic. See Template Topics#Template Topics Vars for details.

GMTIME, SERVERTIME

This topic: System > Category > UserDocumentationCategory > Macros > VarSERVERTIME
Topic revision: 18 Jun 2015, ProjectContributor
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback