Difference between revisions of "SEC()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SEC()=
 
 
 
==Class==
 
Date and Time Data
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to return the numeric seconds from a specified datetime
 
Function to return the numeric seconds from a specified datetime
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
[[AMPM()]], [[CTOT()]], [[DATE()]], [[DATETIME()]], [[ELAPTIME()]], [[HOUR()]], [[HOURS()]], [[MINUTE()]], [[MINUTES()]], [[SECONDS()]], [[SECS()]], [[TIME()]], [[TIMESTAMP()]], [[TSTRING()]], [[TTOC()]], [[TTOD()]], [[VALIDTIME()]], [[SET CLOCK]], [[SET CLOCKRATE]], [[SET SECONDS]], [[SET VAXTIME]]
+
[[AMPM()]], [[CTOT()]], [[DATE()]], [[DATETIME()]], [[ELAPTIME()]], [[HOUR()]], [[HOURS()]], [[MINUTE()]], [[MINUTES()]], [[SECONDS()]], [[SECS()]], [[SET CLOCK]], [[SET CLOCKRATE]], [[SET SECONDS]], [[SET VAXTIME]], [[TIME()]], [[TIMESTAMP()]], [[TSTRING()]], [[TTOC()]], [[TTOD()]], [[VALIDTIME()]]
  
  
Line 33: Line 26:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital, Recital Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Date and Time Data]]
 +
[[Category:Date and Time Data Functions]]

Latest revision as of 15:29, 7 December 2009

Purpose

Function to return the numeric seconds from a specified datetime


Syntax

SEC(<expT>)


See Also

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


Description

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


Example

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


Products

Recital, Recital Server