Autor Beitrag
|M|Ich|Er|
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 34


Morfik Web OS, Delphi 6 EE
BeitragVerfasst: Di 06.05.08 18:22 
hi ich hab ein kleines Rechenproblem

was sind denn 03 Stunden und 10 Minuten in Timer- Intervall umgerechnet?
GericasS
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 540

Windows Vista Home Premium
D2010, VisualStudio2008
BeitragVerfasst: Di 06.05.08 18:24 
Ich glaube der Timer ist standardmäßig auf 1000ms eingestellt, also musst du deine Zeit am besten so umrechnen...

190 min -> x ms !

Wieviel das ist weiß ich immo auch nciht sry

edit : 1 Minute = 60 000 millisekunden

macht nach meiner rechnung 11.400.000 ms

_________________
Alexander N.
Neue Bewaffnung Amilo xi2428 T9300
|M|Ich|Er| Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 34


Morfik Web OS, Delphi 6 EE
BeitragVerfasst: Di 06.05.08 18:26 
user profile iconGericasS hat folgendes geschrieben:
Ich glaube der Timer ist standardmäßig auf 1000ms eingestellt, also musst du deine Zeit am besten so umrechnen...

190 min -> x ms !

Wieviel das ist weiß ich immo auch nciht sry


1.900.000 ?

Bitte prüfen ich muss das genau wissen... ist wichtig!
GericasS
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 540

Windows Vista Home Premium
D2010, VisualStudio2008
BeitragVerfasst: Di 06.05.08 18:28 
www.google.de/search...btnG=Suche&meta=

schau mal in mein edit vom ersten post !

_________________
Alexander N.
Neue Bewaffnung Amilo xi2428 T9300


Zuletzt bearbeitet von GericasS am Di 06.05.08 18:29, insgesamt 1-mal bearbeitet
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 06.05.08 18:29 
Sowas sollte man imho aber anders lösen. Lieber das Timer-Intervall kleiner stellen und jeweils die aktuelle Uhrzeit mit der gespeicherten Startzeit vergleichen.

Ansonsten: 3h10min sind 190min, das sind 190*60 = 11.400sec, also 11.400.000ms. Hab ich auch raus :zustimm:

Edit: Der Gockel-Link bringts ja mal total. :roll: (war Unsinn)

Edit2: Wohow, Inline-Edit macht jetzt ja richtig Spaß :D

_________________
We are, we were and will not be.


Zuletzt bearbeitet von Gausi am Di 06.05.08 18:38, insgesamt 1-mal bearbeitet
GericasS
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 540

Windows Vista Home Premium
D2010, VisualStudio2008
BeitragVerfasst: Di 06.05.08 18:31 
Achso nochwas,

diese Rechnungen kann man sehr gut mit google.de lösen :zustimm:

@ Gausi : Wieso ? ist doch das was er wissen wollte ?! :roll:

_________________
Alexander N.
Neue Bewaffnung Amilo xi2428 T9300
|M|Ich|Er| Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 34


Morfik Web OS, Delphi 6 EE
BeitragVerfasst: Di 06.05.08 18:35 
user profile iconGausi hat folgendes geschrieben:
Sowas sollte man imho aber anders lösen. Lieber das Timer-Intervall kleiner stellen und jeweils die aktuelle Uhrzeit mit der gespeicherten Startzeit vergleichen.

Ansonsten: 3h10min sind 190min, das sind 190*60 = 11.400sec, also 11.400.000ms. Hab ich auch raus :zustimm:

Edit: Der Gockel-Link bringts ja mal total. :roll:

Edit2: Wohow, Inline-Edit macht jetzt ja richtig Spaß :D



Danke @ alle!!! Danke Gausi!

uhrzeit mit startzeit vergleichen geht nicht, da kommen komischerweise unregelmäigkeiten auf

aber wenn du meinen quellcode sehen würdest, da würden die meissten profis hier wohl einen herzinfakt kriegen... ich nenne meine art von programmieren "kamikaze" ;)
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 06.05.08 18:35 
Oh. Da über den Links steht ja nochwas. Da da sonst immer Werbung ist, hab ich das ausgeblendet. Hast natürlich recht.

_________________
We are, we were and will not be.
|M|Ich|Er| Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 34


Morfik Web OS, Delphi 6 EE
BeitragVerfasst: Di 06.05.08 18:41 
user profile iconGericasS hat folgendes geschrieben:
www.google.de/search...btnG=Suche&meta=

schau mal in mein edit vom ersten post !


ach jetzt auch mal draufgedrückt, das ist ja easy going mit google
GericasS
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 540

Windows Vista Home Premium
D2010, VisualStudio2008
BeitragVerfasst: Di 06.05.08 18:42 
user profile icon|M|Ich|Er| hat folgendes geschrieben:
user profile iconGericasS hat folgendes geschrieben:
www.google.de/search...btnG=Suche&meta=

schau mal in mein edit vom ersten post !


ach jetzt auch mal draufgedrückt, das ist ja easy going mit google


Joa, dafür ist es ja schließlich da und gut erklärt ist es da auch :zustimm:

_________________
Alexander N.
Neue Bewaffnung Amilo xi2428 T9300