| 4D v15HOUR | ||||||||||||||
| 
 | 
    4D v15
 HOUR 
         | |||||||||||||
| HOUR (arithmetic_expression) | ||
The HOUR function returns the hour part of the time passed in the arithmetic_expression. The value returned ranges from 0 to 23.
Supposing that we have the INVOICES table with a Delivery_Time field. To display the hour of the delivery time:
SELECT HOUR(Delivery_Time)
FROM INVOICES; 
	Product:  4D
	Theme:  Functions
	
        
        
	
	
	
	
	
	
	
	
	
	
	
	4D SQL Reference ( 4D v15)
	
	
	
	
	
 Add a comment
Add a comment