Changes
move cat in interwiki here
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
__NOTOC__
==== Purpose ====
This template simply returns the integer hour on two digits (between 00 and 23) for the time in parameter.
==== Syntax ====
: <nowiki>{{</nowiki>HOUR<nowiki>|</nowiki>''time''}}
* The ''time'' must be in the <tt>hh:mm</tt> format (between 00:00 and 23:60 or 24:00), or can be any valid numeric expression of a real number of hours (this computed numeric value is processed modulo 24).
* For compatibility with some time indications that use 24:00 or 23:60 on leap seconds, or for the end of day, this template return 24 only for those two specific values. This allows correct computing of julian day timestamps.
==== See also ====
* [[Template:HOUR12]]
* [[Template:AMPM]]
* [[Template:MINUTE]]
<includeonly>
[[Category:Date-computing templates]]
[[ja:Template:HOUR]]
</includeonly>
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
__NOTOC__
==== Purpose ====
This template simply returns the integer hour on two digits (between 00 and 23) for the time in parameter.
==== Syntax ====
: <nowiki>{{</nowiki>HOUR<nowiki>|</nowiki>''time''}}
* The ''time'' must be in the <tt>hh:mm</tt> format (between 00:00 and 23:60 or 24:00), or can be any valid numeric expression of a real number of hours (this computed numeric value is processed modulo 24).
* For compatibility with some time indications that use 24:00 or 23:60 on leap seconds, or for the end of day, this template return 24 only for those two specific values. This allows correct computing of julian day timestamps.
==== See also ====
* [[Template:HOUR12]]
* [[Template:AMPM]]
* [[Template:MINUTE]]
<includeonly>
[[Category:Date-computing templates]]
[[ja:Template:HOUR]]
</includeonly>