This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||
|
4D v20 R8
MONTH
|
|
||
The MONTH function returns the number of the month (ranging from 1 to 12) 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 month of the date of birth for every person in PEOPLE :
SELECT MONTH(Date_of_Birth)
FROM PEOPLE;
Product: 4D
Theme: Functions
4D SQL Reference ( 4D v20 R8)