on 05-23-2014 9:40 PM
Hi all,
I'm having problems using java.sql.Time.toString():
I have an input field pointing to Time typed context attribute, getting it from and printing it on the screen as a message with the following lines of code:
Time t1 = wdContext.currentTimeElement().getTimeIn();
wdComponentAPI.getMessageManager().reportSuccess("Time: "+t1.toString());
The message shows the Time minus thirty minutes. I also print the TimeZone.getDefault() value and the app is showing this:
I'm on Caracas/Venezuela where we have GMT-4:30 Time Zone, the app is running on a server NW 7.3 SP10 with SAPJVM 6 build 6.1.065.
Does anyone knows what am I missing?
Regards,
Gregory.
Instead of toString() method .. .can you try DateFormatter class and then try printing the same.
Mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.