Autor Beitrag
mexx
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1183



BeitragVerfasst: Do 12.04.07 10:46 
Ich möchte Dateien erstellen, die als Name einen DateTime Wert enhalten. Jedoch erlaubt Windows keine : in der Dateibezeichnung. Wie kann ich das Fomat des Datums dahingehen ändern?

_________________
Das Unsympathische an den Computern ist, dass sie nur ja oder nein sagen können, aber nicht vielleicht.
oldmax
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 380


D3 Prof, D4 Prof
BeitragVerfasst: Do 12.04.07 11:42 
Hi
Versuchs mal mit
ausblenden Delphi-Quelltext
1:
FormatdateTime('ddmmyyyyhhnnss',Date);					


oder

ausblenden Delphi-Quelltext
1:
FormatdateTime('ddmmyyyyhhnnss',Now);					

Gruß oldmax

_________________
Zier dich nich so, ich krieg dich schon....