Difference between revisions of "HOUR()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Class==
 
Date and Time Data
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to return the numeric hours from a specified datetime
 
Function to return the numeric hours from a specified datetime
Line 8: Line 4:
  
 
==Syntax==
 
==Syntax==
Hour(<expT>)
+
HOUR(<expT>)
  
  
Line 30: Line 26:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Date and Time Data]]
 +
[[Category:Date and Time Data Functions]]

Latest revision as of 16:22, 2 December 2009

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 Server, Recital