This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20
SECOND

SECOND  


 

 

Command SECONDSECOND (arithmetic_expression)

The SECOND function returns the seconds part (ranging from 0 to 59) of the time passed in the arithmetic_expression.

Example  

Supposing that we have the INVOICES table with a Delivery_Time field. To display the seconds of the delivery time:

SELECT SECOND(Delivery_Time)
FROM INVOICES;



See also 

HOUR
MINUTE

 
PROPERTIES 

Product: 4D
Theme: Functions

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D SQL Reference ( 4D v20)