Hay, i have a database holding events. There are 2 fields \'start\' and \'end\', these contain timestamps. When an admin enters these dates, they only have the ability to se
$daysInBetween = range($startTs, $endTs, 86400); $secondDay = date('M d Y', $daysInBetween[1]); /* $thirdDay = date('M d Y', $daysInBetween[2]); ... */
Note that the range() function is inclusive.
range()