Difference between revisions of "HOURS()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to extract number of hours from a time string | Function to extract number of hours from a time string | ||
− | |||
==Syntax== | ==Syntax== | ||
HOURS(<time-string>) | HOURS(<time-string>) | ||
− | |||
==See Also== | ==See Also== | ||
− | [[AMPM()]], [[CTOT()]], [[DATE()]], [[DATETIME()]], [[ELAPTIME()]], [[HOUR()]], [[MINUTE()]], [[MINUTES()]], [[SEC()]], [[SECONDS()]], [[SECS() | + | [[AMPM()]], [[CTOT()]], [[DATE()]], [[DATETIME()]], [[ELAPTIME()]], [[HOUR()]], [[MINUTE()]], [[MINUTES()]], [[SEC()]], [[SECONDS()]], [[SECS()]], [[SET SECONDS]], [[TIME()]], [[TIMESTAMP()]], [[TSTRING()]], [[TTOC()]], [[TTOD()]], [[VALIDTIME()]] |
− | + | ||
==Description== | ==Description== | ||
The HOURS() function extracts the hours from the specified time-string and returns the number of hours as a numeric value. | The HOURS() function extracts the hours from the specified time-string and returns the number of hours as a numeric value. | ||
− | |||
==Example== | ==Example== | ||
Line 21: | Line 17: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Date and Time Data]] | [[Category:Date and Time Data]] | ||
[[Category:Date and Time Data Functions]] | [[Category:Date and Time Data Functions]] |
Revision as of 11:54, 9 February 2012
Contents
Purpose
Function to extract number of hours from a time string
Syntax
HOURS(<time-string>)
See Also
AMPM(), CTOT(), DATE(), DATETIME(), ELAPTIME(), HOUR(), MINUTE(), MINUTES(), SEC(), SECONDS(), SECS(), SET SECONDS, TIME(), TIMESTAMP(), TSTRING(), TTOC(), TTOD(), VALIDTIME()
Description
The HOURS() function extracts the hours from the specified time-string and returns the number of hours as a numeric value.
Example
? hours("10:00:00") 10