on 08-06-2007 1:30 PM
Hello,
to format the date I need to know the current language setting. How to read the current language setting?
Id also appreciate hints how to best achieve date formatting in WDJ.
Regards
Rene
Hi,
To know the current user language use the following code:
IUser sapUser = WDClientUser.getCurrentUser().getSAPUser();
Locale userLocale = sapUser.getLocale();
To format dates use SimpleDateFormat class
Aviad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.