If the current date is November 14, 1901, the following queries return the value 8 as the result since November 14, 1901 falls on the 8th quarter since January 01, 1900.
SELECT td_quarter_of_calendar(CURRENT_DATE); SELECT td_quarter_of_calendar(DATE '1901-11-14');