Autor Beitrag
urbanchaos
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Win xp
Delphi 2005 Pers./7 enterprise
BeitragVerfasst: Fr 26.01.07 22:55 
hi ich bins nochmal!
kann mir mal jemand ein bsp geben, wie man die function "secondOfTime" benutzt??? ich find darüber nichts im inet!
danke!

_________________
Nobody is Perfect!
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Fr 26.01.07 23:52 
ausblenden Delphi-Quelltext
1:
MyVar := SecondOfTime(Now);					

Wie sonst?

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
urbanchaos Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Win xp
Delphi 2005 Pers./7 enterprise
BeitragVerfasst: Sa 27.01.07 01:01 
ja aber bei mir geht das trotzdem net!
da kommt, dass es second of time net kennt! also ein undefinierter Bezeichner

_________________
Nobody is Perfect!
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19315
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 27.01.07 04:17 
Du musst die Unit DateUtils oben bei uses reinschreiben...
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Sa 27.01.07 10:43 
user profile iconurbanchaos hat folgendes geschrieben:
ja aber bei mir geht das trotzdem net!
da kommt, dass es second of time net kennt! also ein undefinierter Bezeichner

Beim nächsten Mal die Fehlermeldung dazu sagen ;-).

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
urbanchaos Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Win xp
Delphi 2005 Pers./7 enterprise
BeitragVerfasst: Sa 27.01.07 11:10 
Also das Dateutilis oder so hat ochnet geholfen! hab rausgefunden, dass ich jclDateTime reinschreiben muss! dafür muss ich aber das erst dowbloaden und installieren! beim installieren kommt ne fehlermeldung! also er compilt alles dann kann ich irgendwann auf ok drücken(im logfenster steht schon "Installation of Package finished...failed") dann kann ich weiter machen und irgendwann kommt ne fehlermeldung! "Installation failed, see logs for details!"
was muss ich ändern???

ok habs hinbekommen und jetzte geht auch das secondoftime!
thx @ all!
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Sa 27.01.07 14:10 
Eventuell ist die Funktion SecondOf() gleichwertig, dann brauchst du nur DateUtils. Ansonsten einfach selbst so eine Funktion schreiben.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)