| Author |
convertion from Date to Calendar and viseversa
|
farhath farook
Ranch Hand
Joined: Aug 01, 2007
Posts: 37
|
|
hi i have to convert the Calendar object to Date and the other way also. can anyone say how to to it.. thanks in advance
|
 |
Aum Tao
Ranch Hand
Joined: Feb 14, 2006
Posts: 210
|
|
I am not sure what your application is but the getTime() method of Calendar returns a Date object. You might want to check the related javadocs.
|
SCJP 1.4 85%
|
 |
Martijn Verburg
author
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
Hi there, As Prateek stated there is plenty of information in the Calendar and Date javadocs. Also do search this forum as there are lots and lots of previous posts on this topic that can help you
|
Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
|
 |
 |
|
|
subject: convertion from Date to Calendar and viseversa
|
|
|