Difference between revisions of "ELAPTIME()"

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 return time difference between two time strings
 
Function to return time difference between two time strings
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 17:09, 27 November 2009

Purpose

Function to return time difference between two time strings


Syntax

ELAPTIME(<timestring1>,<timestring2>)


See Also

AMPM(), DAYS(), HOURS(), MINUTES(), SECONDS(), SECS(), SET CLOCK, SET CLOCKRATE, TIME(), TSTRING(), VALIDTIME()


Description

The ELAPTIME() function returns a time string in the form "HH:MM:SS" which is the difference between <timestring2> and <timestring1>. This function can be very useful when used in the Application Data Dictionary to define a total work time field.


Example

? elaptime("10:10:10","11:11:11")
01:01:01


Products

Recital Server, Recital