Autor Beitrag
hibbert
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Do 03.04.03 21:53 
moin moin,
wenn ich eine datei erstelle, wird ja immer das erstellungsdatum verwendet, wie kann ich dieses auslesen, und in eine listbox wiedergeben?
danke
mfg hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
Alibi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458

Win2K SP3
Delphi 6 Ent
BeitragVerfasst: Do 03.04.03 22:04 
Mit der Funktion FileAge. :)

// Edit:
Bisschen mit der rumgespielt:
ausblenden Quelltext
1:
  showmessage(timetostr(FileDateToDateTime(FileAge('c:\profile.txt'))));					

und
ausblenden Quelltext
1:
  showmessage(datetostr(FileDateToDateTime(FileAge('c:\profile.txt'))));					


Die Verwendung dürfte damit klar sein. :)
hibbert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Fr 04.04.03 14:02 
cool,
danke

mfg hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej