HOURS()

From Lianjapedia
Revision as of 11:54, 9 February 2012 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

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