on 12-13-2006 2:30 PM
Hello there
Please, help me how to get current language on IE, not Windows itself, from WebDynpro App .
The best would be to get "Date" in form of template something like this: MM-dd-yyyy, in accordance with the current language in IE.
Message was edited by:
Stefan Stefanov
Hi,
You can do something like:
IWDClientUser usr = WDClientUser.getLoggedInClientUser();
Date currDate = new Date(System.currentTimeMillis());
SimpleDateFormat dFormat = new SimpleDateFormat("MM-dd-yyyy",usr.getLocale());
dFormat.format(currDate);
Regards,
Satyajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks
This solve the problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.