| 4D v15QUARTER | ||||||||||||||
| 
 | 
    4D v15
 QUARTER 
         | |||||||||||||
|  | ||
The QUARTER function returns the quarter of the year (ranging from 1 to 4) in which the date passed in the arithmetic_expression occurs.
Supposing that we have the PEOPLE table with a Date_of_Birth field. To find out the quarter of the date of birth for every person in PEOPLE:
SELECT QUARTER(Date_of_Birth) 
FROM PEOPLE; 
	Product:  4D
	Theme:  Functions
	
        
        
	
	
	
	
	
	
	
	
	
	
	
	4D SQL Reference ( 4D v15)
	
	
	
	
	
 Add a comment
Add a comment