4D v14

MONTH

Home

 
4D v14
MONTH

MONTH  


 

 

Command MONTHMONTH (arithmetic_expression)

The MONTH function returns the number of the month (ranging from 1 to 12) of the date passed in the arithmetic_expression.

Example  

Supposing that we have the PEOPLE table with a Date_of_Birth field. To find out the month of the date of birth for every person in PEOPLE :

SELECT MONTH(Date_of_Birth)
FROM PEOPLE;

 
PROPERTIES 

Product: 4D
Theme: Functions

 
SEE ALSO 

DAYOFMONTH
MONTHNAME

 
ARTICLE USAGE

4D SQL Reference ( 4D v11 SQL Release 4 )
4D SQL Reference ( 4D v14)
4D SQL Reference ( 4D v12.1)
4D SQL Reference ( 4D v13.4)
4D SQL Reference ( 4D v14 R2)
4D SQL Reference ( 4D v14 R3)
4D SQL Reference ( 4D v14 R4)