GetDateFormat API return error for French

6 views
Skip to first unread message

Gaurav

unread,
Jul 20, 2004, 4:00:29 AM7/20/04
to
Hi,

I am having an application that uses widows API "GetDateFormat" to get
the system date in a desired format.

myDate = GetDateFormat( LOCALE_SYSTEM_DEFAULT,
0,
&st,
"ddd, dd MMM yyyy",
szDate,
SIZE_DATE );

This API works fine when the System Regional Settings is set for
"English" But on modifying regional settings to "French" the API
returns 0 (error).

What is causing this failure. Do I need to use different format for
"French" or is any general format that I can use for all Languages.

Please suggest.

Thanks,
Gaurav

Reply all
Reply to author
Forward
0 new messages