A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Converting UTC time to Date object, Really need Help !
Joined: Mar 20, 2009
Apr 16, 2009 06:54:01
I get a
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
Joined: Sep 13, 2007
Apr 16, 2009 07:48:49
You may want to check out this
from earlier about similar thing.
It is sorta covered in the
JavaRanch Style Guide
subject: Converting UTC time to Date object, Really need Help !
How can dateTime field format can be controlled ?
System.currentTimeMillis() is not UTC in Milliseconds since 1.1.1970 ! Official JavaDoc wrong?
Convert Local time to UTC and vice versa
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014