You can use Date.Month() for the the month value, here you will get integer value like 1 for Jan...12 for Dec then from this value you can easily get its quarter.

Hope this helps!!!

Regards,
Krishna