| | |
Get time format from system ?
Thread Solved |
Isnt there a ShortTimeFormat global variable that defaults to the regional settings on the executing machine which you can then use or override?
Thank you for your sugestions, but I`ve choosed another solution:
This returns "hh mm ss" or whatever the string timeformat from regional settings is.
delphi Syntax (Toggle Plain Text)
GetLocaleStr(GetThreadLocale(), LOCALE_STIMEFORMAT, '');
This returns "hh mm ss" or whatever the string timeformat from regional settings is.
![]() |
Similar Threads
- Changing system Time Format (Pascal and Delphi)
- Changing Time format (Pascal and Delphi)
- Time for a Clean Install of XP? (Windows tips 'n' tweaks)
- System Sound Cuts Off??? (Windows Software)
- How do I format on XP? (Windows NT / 2000 / XP)
Other Threads in the Pascal and Delphi Forum
- Previous Thread: Decimal to Binary or hex
- Next Thread: reading more than one line from text file
| Thread Tools | Search this Thread |






