Month in French

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

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

String (optional) Country code/ISO Code of country, whose format
is to be used. Format: - e.g. de-de or
en-us.

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