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