Autor Beitrag
JoelH
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 806
Erhaltene Danke: 17

Win10
Delphi Alexandria 11.2 Patch 1
BeitragVerfasst: Di 04.05.04 09:40 
Wie komme ich an das eingestellte Datumsformat von Win NT/XP ran? Problem ist dass mein Programm nur mit vierstelligen Jahreszahlen arbeitet, wenn nur zweistellig angezeigt wird gehts auch, dann nimmt er aber als Jahr 0004 , das ist falsch ;)

Wie kann ich das beim Programmstart checken?

_________________
mfg. Joel


Zuletzt bearbeitet von JoelH am Di 04.05.04 10:28, insgesamt 1-mal bearbeitet
smiegel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 992
Erhaltene Danke: 1

WIN 7
D7 Prof., C#, RAD XE Prof.
BeitragVerfasst: Di 04.05.04 10:26 
Hallo,

evtl so:
ausblenden Delphi-Quelltext
1:
ShortDateFormat:='TT.MM.JJJJ';					

_________________
Gruß Smiegel
Ich weiß, daß ich nichts weiß, aber ich weiß mehr als die, die nicht wissen, daß sie nichts wissen. (Sokrates)
JoelH Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 806
Erhaltene Danke: 17

Win10
Delphi Alexandria 11.2 Patch 1
BeitragVerfasst: Di 04.05.04 10:27 
Titel: hmm,
das war zu einfach ;) OK, geht.

_________________
mfg. Joel