+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

Month in French


(Cady Huynh) #1

Hi,

Can I get Month of provided date in French with designer?
I can get the date in French using LocDate$ but it either return long format with day , Jeudi 10 Novembre 2015 or short format 10/11/2016. I need the long format without the day of the week, i.e. 10 Novembre 2016.

Thanks,
Cady


(combit Support - Thomas Metternich) #2

Dear Cady,

thank you for your post.

Maybe you can work with Locale$() to get the month:

Locale$
Purpose:
Returns information about the country settings, for example currency,
decimals, separators, language and country code. The code for the
appropriate country is entered in the second parameter, if no second
parameter is used the default country settings will be used.
Parameter:
Number Index of Locale Entry
http://msdn.microsoft.com/en-us/library/bb507201.aspx
String (optional) Country code/ISO Code of country, whose format
is to be used. Format: - e.g. de-de or
en-us.
http://msdn.microsoft.com/en-us/library/0h88fahh(VS.85).aspx
Return value:
String
Example:
Locale$(42,“en-us”) Result: “Monday”

Then you can build your date (example):

Str$(Day(…))+Locale$(…+Month(…))+Str$(Year(…))

Best regards,

Thomas Metternich
Technical Support
combit GmbH