Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Converting UTC time to Date object, Really need Help !

 
Imran Sabir
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 3502
14
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may want to check out this thread from earlier about similar thing.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic