TheInsider
Programmer
Hi,
I am working on a standard win32 project (no MFC). In the Windows 9X Control Panel/Regional Settings/Date tab you can choose your Short Date style, Long Date style, and the 2 Digit Year interpretation (in Win 98). I would like to know how I can programmatically obtain these formats so that I can input and output information in the same format as the user's operating system. i.e. if the user has a dd/mm/yy Short Date style format, I know to output today's date as 03/05/01 instead of 05/03/01.
Thanks, Rob Marriott
rob@career-connections.net
I am working on a standard win32 project (no MFC). In the Windows 9X Control Panel/Regional Settings/Date tab you can choose your Short Date style, Long Date style, and the 2 Digit Year interpretation (in Win 98). I would like to know how I can programmatically obtain these formats so that I can input and output information in the same format as the user's operating system. i.e. if the user has a dd/mm/yy Short Date style format, I know to output today's date as 03/05/01 instead of 05/03/01.
Thanks, Rob Marriott
rob@career-connections.net