PHP: Date difference in days

You might need to calculate the date difference in days using PHP. You can easily calculate the days difference by using something like the code below. function datediff($date1, $date2) { return round(abs(strtotime($d1) -...

Read More