Also ich hätte es wohl in etwa so gemacht:
$foo = substr($beginn, 6, 7)+(substr($beginn, 3, 4)*60)+(substr($beginn, 1, 2)*60);
$bar = substr($ende, 6, 7)+(substr($ende, 3, 4)*60)+(substr($ende, 1, 2)*60);
$time = $bar-$foo;
Gruß
Carl
Also ich hätte es wohl in etwa so gemacht:
$foo = substr($beginn, 6, 7)+(substr($beginn, 3, 4)*60)+(substr($beginn, 1, 2)*60);
$bar = substr($ende, 6, 7)+(substr($ende, 3, 4)*60)+(substr($ende, 1, 2)*60);
$time = $bar-$foo;
Gruß
Carl