on 09-18-2007 7:08 AM
Hi,
I want to change the date format depends upon the application being used in different Locale.
If i am knowing in which Locale it is getting used then i can do it by,
DateFormat df_fr = DateFormat.getDateInstance(DateFormat.FULL,Locale.CANADA);
But how would i come to know in which Locale the application is getting used ? and depending i can change the date formats ?
Thanks in advance
WDResourceHandler.getCurrentSessionLocale();
I believe this returns the currently used Locale, so that might be what you are looking for?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.