Jump to content

Template:Format revisiontimestamp/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

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

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

The template is equivalent to using the time function — For example {{#time:Y-m-d H:i:s|20230501215438}} also outputs 2023-05-01 21:54:38