Quantcast
Channel: SCN : Popular Discussions - Web Dynpro Java
Viewing all articles
Browse latest Browse all 989

java.sql.Time.toString() Problem

$
0
0

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:

Time_Error.PNG

 

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.


Viewing all articles
Browse latest Browse all 989

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>