
While i was searching how to take the first and the last day of a month in php i found two functions that returns to you those dates. Here are the two functions. function lastday($month = ”, $year = ”) { if (empty($month)) { $month = date(‘m’); } if (empty($year)) { $year = date(‘Y’); }…