HOUR()

From Recital Documentation Wiki
Revision as of 13:37, 23 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Class

Date and Time Data


Purpose

Function to return the numeric hours from a specified datetime


Syntax

Hour(<expT>)


See Also

AMPM(), CTOT(), DATE(), DATETIME(), ELAPTIME(), HOURS(), MINUTE(), MINUTES(), SEC(), SECONDS(), SECS(), SET CLOCK, SET CLOCKRATE, SET SECONDS, SET VAXTIME, TIME(), TIMESTAMP(), TSTRING(), TTOC(), TTOD(), VALIDTIME()


Description

The HOUR() function returns the hours from the specified datetime expression <expT> as a numeric value.


Example

? hour({10/10/2004 10:15:43 AM})
        10
m_Hour = hour(datetime())
? type("m_Hour")
N


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer