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
get the difference of two dates and divide it by 86400. abs(($date1 - $date2) / 86400) will produce the needed result