my dog learned polymorphism
The moose likes Beginning Java and the fly likes Converting UTC time to Date object, Really need Help ! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Converting UTC time to Date object, Really need Help !" Watch "Converting UTC time to Date object, Really need Help !" New topic
Author

Converting UTC time to Date object, Really need Help !

Imran Sabir
Greenhorn

Joined: Mar 20, 2009
Posts: 3
hi All,

I get a string which will always be have UTC time format "2009-04-16T00:00:00+02:00" . I want to get the right date out this string

Being a beginner, I have no idea that how to convert this string to Date Object.

Can somebody be really nice to guide me in the right direction.

I am really stuck into it.. did a lot of goodle. but no clue

kind regards
Imran Sbair
K. Tsang
Ranch Hand

Joined: Sep 13, 2007
Posts: 1219

You may want to check out this thread from earlier about similar thing.


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Converting UTC time to Date object, Really need Help !
 
Similar Threads
Convert Local time to UTC and vice versa
timezone woes
System.currentTimeMillis() is not UTC in Milliseconds since 1.1.1970 ! Official JavaDoc wrong?
How can dateTime field format can be controlled ?
getting time