QUARTER allows you to retrieve the month from a date.
QUARTER(d)
In this example you get the month from the date field whn.
whn
SELECT QUARTER(whn) AS v ,whn ,wht FROM eclipse