VistaDB 5
MONTH
MONTH( datetime )

Returns an integer representing the MONTH from a given datetime.


Remarks

This is the same as using DATEPART( month, date )

Example

Output: 4
Output: 4, 28, 2007
SELECT MONTH('4/28/2007'), DAY('4/28/2007'), YEAR('4/28/2007')
SELECT MONTH('4/28/2007')

See Also