Leider habe ich noch einen Fehler entdeckt. Die Ausgabe der Zeit mit
If STime(Dummy)=true
then
GPSTime:=IntToStr(Dummy+1:2:'0')+':'+IntToStr(MinNum:2:'0');
else
GPSTime:=IntToStr(Dummy:2:'0')+':'+IntToStr(MinNum:2:'0');
EndIf;
bewirkt, daß während der Sommerzeit zur Uhrzeit 1 addiert wird, d.h. um 0:00 Uhr wird 24:00 Uhr angezeigt. Das muß man noch abfangen:
If STime(Dummy)=true
then
Dummy:=Dummy+1;
If Dummy=24
then
Dummy:=0;
EndIf;
EndIf;
GPSTime:=IntToStr(Dummy:2:'0')+':'+IntToStr(MinNum:2:'0');
Code
If STime(Dummy)=true
then
GPSTime:=IntToStr(Dummy+1:2:'0')+':'+IntToStr(MinNum:2:'0');
else
GPSTime:=IntToStr(Dummy:2:'0')+':'+IntToStr(MinNum:2:'0');
EndIf;
bewirkt, daß während der Sommerzeit zur Uhrzeit 1 addiert wird, d.h. um 0:00 Uhr wird 24:00 Uhr angezeigt. Das muß man noch abfangen:
Code
If STime(Dummy)=true
then
Dummy:=Dummy+1;
If Dummy=24
then
Dummy:=0;
EndIf;
EndIf;
GPSTime:=IntToStr(Dummy:2:'0')+':'+IntToStr(MinNum:2:'0');