Changes
Jump to navigation
Jump to search
no edit summary
{{<includeonly>safesubst:</includeonly>#time:s}}<noinclude>
{{documentation|content=
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 {{CURRENTTIMESTAMP}}.
; Syntax:
: {{tl|{{PAGENAME}}}}
: Use {{tls|{{PAGENAME}}}} to substitute the current second.
; Formula:
: <nowiki>{{#expr:s}}</nowiki>
: {{tls|{{PAGENAME}}}} copies this code ready for [[Help:Substitution#Optional_substitution|optional substitution]] into another template.
; Warning:
: Pages asking for the current second often also need other parts of {{evaldemo|CURRENTTIMESTAMP|s==}}, and different "current" templates and variables can reflect different timestamps near hh:mm:59.
:
; See also:
: {{Date and time templates}}
[[Category:Date-computing templates based on current time]]
}}</noinclude>
{{documentation|content=
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 {{CURRENTTIMESTAMP}}.
; Syntax:
: {{tl|{{PAGENAME}}}}
: Use {{tls|{{PAGENAME}}}} to substitute the current second.
; Formula:
: <nowiki>{{#expr:s}}</nowiki>
: {{tls|{{PAGENAME}}}} copies this code ready for [[Help:Substitution#Optional_substitution|optional substitution]] into another template.
; Warning:
: Pages asking for the current second often also need other parts of {{evaldemo|CURRENTTIMESTAMP|s==}}, and different "current" templates and variables can reflect different timestamps near hh:mm:59.
:
; See also:
: {{Date and time templates}}
[[Category:Date-computing templates based on current time]]
}}</noinclude>