Jump to content

Template:Format revisiontimestamp/doc

From Guzmer Wiki
Revision as of 15:52, 7 June 2024 by Whoisworm (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Generates a more readable output for timestamps in the format YYYYMMDDHHMMSS – as returned by the {{REVISIONTIMESTAMP}} magic word.

For example, {{FRTS|20230501215438}} is output as "2023-05-01 21:54:38".

The template is equivalent to using the time function — For example {{#time:Y-m-d H:i:s| {{REVISIONTIMESTAMP}} }} — outputs 2024-06-07 15:52:46