| 4D v18DAYOFMONTH | ||||||||||||||
| 
 | 
    4D v18
 DAYOFMONTH 
         | |||||||||||||
|  | ||
The DAYOFMONTH function returns a number representing the day of the month (ranging from 1 to 31) of the date passed in the arithmetic_expression.
Supposing that we have the PEOPLE table with a Date_of_Birth field. To find out the day number of the date of birth for every person in PEOPLE:
SELECT DAYOFMONTH(Date_of_Birth)
FROM PEOPLE;
	Product:  4D
	Theme:  Functions
	
        
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D SQL Reference ( 4D v18)
	
	
 Add a comment
Add a comment