DISPLAYTIME -- display formatted time

Formatted time - either GMT or Local server time, depending on {DisplayTimeValues} setting in configure. Same format qualifiers as %GMTIME%

Parameters

Parameter Description Default
"format" Optional format (see GMTIME)  

Examples

  • %DISPLAYTIME% expands to 07 Jun 2025 - 14:46
  • %DISPLAYTIME{"$hou:$min"}% expands to 14:46

GMTIME, SERVERTIME

This topic: System > Category > UserDocumentationCategory > Macros > VarDISPLAYTIME
Topic revision: 18 Jun 2015, ProjectContributor
07 Jun 2025 - 14:46 Foswiki v2.1.9