hello!
say you have 2 dates;
200809261800(start) to 200809261930(end) and you minused the start from the end date, how can you re-format the remaining time? in this case 130.
for some reason $totTimeD = date('G:i',strtotime($totTime));
just gives me 1:00 from the remaining time 130
$eve_start =$row['eve_start'];
$eve_end =$row['eve_end'];
$totTime = $eve_end-$eve_start;
$totTimeD = date('G:i',strtotime($totTime));
$eve_startD = date('d M y, G:i',strtotime($row['eve_start']));
$eve_endD = date('d M y, G:i',strtotime($row['eve_end']));
$option ="$eve_startD to $eve_endD ($totTime $totTimeD)";
is this the best way to figure out an events duration?
thanks in advance! D.