Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi D2010 SysUtils HourFormat falsch? (https://www.delphipraxis.net/147487-d2010-sysutils-hourformat-falsch.html)

marcos 9. Feb 2010 21:13


D2010 SysUtils HourFormat falsch?
 
Hallo,

sehe ich das richtig, dass HourFormat (und als Folge ShortTimeFormat, LongTimeFormat) aus SysUtils ignoriert die Windowseinstellung für 24H? Bei mir unter Windows 7 ist eingestellt HH:mm:ss und Delphi 2010 LongTimeFormat liefert hh:mm:ss.

marcos

marcos 10. Feb 2010 19:49

Re: D2010 SysUtils HourFormat falsch?
 
Keiner hat Delphi 2010 oder mache ich was falsch?

marcos

GPRSNerd 10. Feb 2010 19:59

Re: D2010 SysUtils HourFormat falsch?
 
Doch, natürlich.

Zeig deinen Code im Detail und ich probiere ihn hier für dich aus.

marcos 10. Feb 2010 21:13

Re: D2010 SysUtils HourFormat falsch?
 
var format: string;

format := LongTimeFormat;


In Windowa ist HH:mm:ss.
format beinhaltet hh:mm:ss.

marcos


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:45 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz