Autor Beitrag
D.Elphi
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 128
Erhaltene Danke: 10

Windows 10 Edu x64
Tokyo Starter, BlueJ
BeitragVerfasst: Di 17.04.12 19:53 
Moin,
für ein Projekt möchte ich eine Zeitanzeige. Bisher habe ich das immer so gelöst:
ausblenden Delphi-Quelltext
1:
System.SysUtils.TimeToStr(System.SysUtils.GetTime);					


Allerdings stört mich, dass bei der Zeit auch immer die Sekunden angezeigt werden (also z.B. 19:47:33). Wie kann ich machen, dass nur Stunden u. Minuten angezeigt werden?

mfg
D.Elphi
haentschman
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 285
Erhaltene Danke: 33


DX10 Berlin Professional
BeitragVerfasst: Di 17.04.12 20:33 
Hallo...
Schau dir mal FormatDateTime an.

Für diesen Beitrag haben gedankt: D.Elphi
D.Elphi Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 128
Erhaltene Danke: 10

Windows 10 Edu x64
Tokyo Starter, BlueJ
BeitragVerfasst: Di 17.04.12 21:23 
Danke sehr! :D Was täte ich nur ohne euch...