Any way to have the months names translated without catalog

Discuss any general programming issues here

Any way to have the months names translated without catalog

Postby ilbarbax » Mon May 15, 2017 5:06 pm

Is there any way to have the long names of the months translated without using the catalogs? I wonder if there is any way to get the system translation automatically in case there is not a catalog in place.
Same question would be also for the week days names.
It may be a good improvement of getdate to get a full month description (not just Sep but September). Moreover I miss a date format function able to convert any date to the desired format and not just limited to the system date.

Hope to have explained
ilbarbax
 
Posts: 77
Joined: Thu Apr 01, 2010 6:41 pm

Re: Any way to have the months names translated without cata

Postby Allanon » Mon May 15, 2017 7:29 pm

Hi @ilbarbax,
about date format and conversion function maybe my Date&Time library could help you.

Date & Time library docs
Date & Time library infos

The library also includes a time object with many useful methods.
User avatar
Allanon
 
Posts: 391
Joined: Sun Feb 14, 2010 8:53 pm
Location: Italy


Return to General programming

Who is online

Users browsing this forum: No registered users and 4 guests

cron