You are casting a string to a timestamp in SQL, which would use SQL's default timezone. Then (I assume, I don't see any code but you mention Java) you format that timestamp as a string in Java, which would use Java's default timezone. So, what are those two default timezones?
Joined: Apr 25, 2002
All what i did in a very simple java program is:
I had a workaround by selecting time as character and that worked!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com