Autor Beitrag
Frankle
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20



BeitragVerfasst: Fr 26.07.02 19:20 
Hallo!
Datum1 ist vom Typ TDateTime. Nun möchte ich eine bestimmte Zeit und ein bestimmtes Datum zuweisen. In der Hilfe steht, man soll dies nach dem System machen:
Datum1:=strtodatetime('01/01/2001 23:01');
Geht abba net *hoil
Was ist falsch? Muss ich das irgendwie formatieren?

_________________
---------------------------
God Safe QUEEN
"The Show Must Go On"
b.brecht
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 81



BeitragVerfasst: Sa 27.07.02 01:04 
So gehts:
ausblenden Quelltext
1:
Datum1:=strtodatetime('01.01.2001 11:01:00');					
Frankle Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20



BeitragVerfasst: Sa 27.07.02 02:21 
Titel: Delphi Hilfe
Da macht man es so, wie in der Delphi Hilfe....*zweifel*
Danke für die Lösung ;)

_________________
---------------------------
God Safe QUEEN
"The Show Must Go On"
b.brecht
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 81



BeitragVerfasst: Sa 27.07.02 11:57 
Kein Problem, aber das wie du es gemacht hast entsprach nicht der Delphi Hilfe. Schau nochmal GENAU nach, dann findest du auch diesen Code.