Difference between revisions of "SECONDS()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
=SECONDS()=
 
 
 
 
==Class==
 
==Class==
 
Date And Time Data
 
Date And Time Data
Line 15: Line 12:
  
 
==See Also==
 
==See Also==
[[AMPM()]], [[CTOT()]], [[DATE()]], [[DATETIME()]], [[ELAPTIME()]], [[HOUR()]], [[HOURS()]], [[MINUTE()]], [[MINUTES()]], [[SEC()]], [[SECS()]], [[TIME()]], [[TIMESTAMP()]], [[TSTRING()]], [[TTOC()]], [[TTOD()]], [[VALIDTIME()]], [[SET CLIPPER]], [[SET CLOCK]], [[SET CLOCKRATE]], [[SET SECONDS]], [[SET VAXTIME]]
+
[[AMPM()]], [[CTOT()]], [[DATE()]], [[DATETIME()]], [[ELAPTIME()]], [[HOUR()]], [[HOURS()]], [[MINUTE()]], [[MINUTES()]], [[SEC()]], [[SECS()]], [[SET CLIPPER]], [[SET CLOCK]], [[SET CLOCKRATE]], [[SET SECONDS]], [[SET VAXTIME]], [[TIME()]], [[TIMESTAMP()]], [[TSTRING()]], [[TTOC()]], [[TTOD()]], [[VALIDTIME()]]
  
  
Line 33: Line 30:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Date and Time Data]]
 +
[[Category:Date and Time Data Functions]]

Revision as of 10:26, 2 June 2009

Class

Date And Time Data


Purpose

Function to extract seconds from a time string


Syntax

SECONDS([<time-string>])


See Also

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


Description

The SECONDS() function returns the seconds from the current time as a number. The SECONDS() function will also return the seconds from an optionally specified <time-string>. If the command SET CLIPPER is ON, the SECONDS() function operates in the same way as the SECS() function.


Example

? seconds("10:33:21")
        21


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer