Difference between revisions of "Manuals/calci/HOUR"
Jump to navigation
Jump to search
(Created page with "<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify"> Syntax </div></div> ---- <div id="2SpaceContent" align="left"><div class="ZEditBox" align=...") |
|||
Line 1: | Line 1: | ||
− | + | =HOUR(sn)= | |
− | + | *where <math>sn</math> is the time to find the hour value. | |
− | + | HOUR() returns the hour value from the input time. | |
− | |||
− | |||
− | + | == Description == | |
− | + | HOUR(sn) | |
− | |||
− | |||
− | |||
− | |||
− | + | For Example, | |
− | + | HOUR("3:25 AM") ''returns 3'' | |
− | |||
− | |||
− | + | *Argument <math>sn</math> can be time in the form of text or as a result of any other functions. | |
+ | *Argument <math>sn</math> should be enclosed in quotes e.g. "11:00 AM". | ||
+ | *If <math>sn</math> is invalid, Calci returns an error message. | ||
+ | *The output hour value is the value in integers considering a 24 hour clock. It ranges from '0' for 12:00:00 AM to '23' for 11:00:00 PM. | ||
− | + | == Examples == | |
− | |||
− | |||
− | < | + | <div id="6SpaceContent" class="zcontent" align="left"> |
− | + | {| id="TABLE3" class="SpreadSheet blue" | |
+ | |- class="even" | ||
+ | | class=" " | '''Function''' | ||
+ | | class=" " | '''Output''' | ||
− | + | |- class="odd" | |
− | - | + | | class="sshl_f" |HOUR("12:00:00 AM") |
− | + | | class="sshl_f" |0 | |
− | + | |- class="even" | |
+ | | class="sshl_f" |HOUR("4:50 PM") | ||
+ | | class="sshl_f" |16 | ||
− | + | |- class="odd" | |
− | - | + | | class="sshl_f" |HOUR("11:30") |
− | + | | class="sshl_f" |11 | |
− | + | |- class="even" | |
+ | | class="sshl_f" |HOUR("10:00:00 PM") | ||
+ | | class="sshl_f" |22 | ||
+ | |} | ||
− | + | == See Also == | |
− | + | *[[Manuals/calci/MINUTE | MINUTE]] | |
+ | *[[Manuals/calci/SECOND | SECOND]] | ||
− | + | ==References== | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | *[http://en.wikipedia.org/wiki/Hour Hour] | |
− |
Revision as of 16:10, 16 December 2013
HOUR(sn)
- where is the time to find the hour value.
HOUR() returns the hour value from the input time.
Description
HOUR(sn)
For Example,
HOUR("3:25 AM") returns 3
- Argument can be time in the form of text or as a result of any other functions.
- Argument should be enclosed in quotes e.g. "11:00 AM".
- If is invalid, Calci returns an error message.
- The output hour value is the value in integers considering a 24 hour clock. It ranges from '0' for 12:00:00 AM to '23' for 11:00:00 PM.