I was wondering whether there is a special function to be used in javascript to get a dateFormat by locale code.
String dateFmt = function_get_date_format_by_locale_code ('en');
would return MM/dd/yyyy.
I was wondering whether there is a special function to be used in javascript to get a dateFormat by locale code.
String dateFmt = function_get_date_format_by_locale_code ('en');
would return MM/dd/yyyy.
Not an exact answer to the question, but you could try using date.js, a great little library for working with dates in JavaScript. It has some locale functionality/support I believe...