Changed tab_month to actual month with strtotime.