PHP provides ways to get the number of the current day of the month (date(\'j\')) as well as the number of the current day of the year (date(\'z\')). Is there a way to get the n
How about:
$curMonth = date("m", time()); $curQuarter = ceil($curMonth/3);