servas,
du schreibst:
----
Beispiel: Abfahrt 07:30
Ankunft 17:00
ERGEBNIS eigentlcih 9,5 Std.
raus kommt aber 9,7 Std.
----
ham se dir schonmal gesagt das 17-7,3 = 9,7 ist ???
du musst zumindest alles in minuten umrechnen !
->
7:30 -> 7 * 60 + 30 =a
17:00 -> 17* 60 + 0 =b
b-a = c
c/60 = 9,5 !
grüße
Korbinian
PS: kuck mal hier nach: http://de3.php.net/manual/de/ref.datetime.php
etwas RTFM schadet nie !