get_quarter

qf_lib.common.utils.dateutils.get_quarter.get_quarter(date: datetime) int[source]

Retrieves the quarter that the specified date is in.