$start_date = date('Y-m-01', strtotime(date('Y-m-d')))date
$end_date = date('Y-m-d', strtotime("$start_date + 1 month -1 day"))im