$currentMonth = date('M');// if number, then date('m'); //Last month $lastMonth = Date("F", strtotime("first day of previous month"); $nextMonth = Date("F", strtotime("first day of next month");