Difference between revisions of "HOURS()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Date and Time Data
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to extract number of hours from a time string
 
Function to extract number of hours from a time string
Line 27: Line 23:
  
 
==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]]
 
[[Category:Date and Time Data Functions]]
 
[[Category:Date and Time Data Functions]]

Latest revision as of 16:21, 2 December 2009

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 CLOCK, SET CLOCKRATE, SET SECONDS, SET VAXTIME, 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


Products

Recital Server, Recital