Template:CURRENTSECOND
Jump to navigation
Jump to search
Template documentation
32

This template extracts the current integer second on two digits (between 00 and 59) from the current UTC time (as set on the Wikimedia server). The shown value should match the rightmost two digits of 20251015172732.
- Syntax:
- {{CURRENTSECOND}}
- Use Template:Tls to substitute the current second.
- Formula:
- {{#expr:s}}
- Template:Tls copies this code ready for optional substitution into another template.
- Warning:
- Pages asking for the current second often also need other parts of Template:Evaldemo, and different "current" templates and variables can reflect different timestamps near hh:mm:59.
- See also:
- Template:Date and time templates
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |