wood burning stoves 2.0*
The moose likes Java in General and the fly likes String to date conv Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "String to date conv" Watch "String to date conv" New topic
Author

String to date conv

sreeni san
Ranch Hand

Joined: Aug 14, 2001
Posts: 39
HI
I have date returned in a string in the format 2001-12-05 16:34:53.93 from the database. I have another date of the same format returned in a String from the database. I need to compare both of these and find the greater date.
How do I do these.
Thanks
Santosh
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
This should do the trick...

Hope that helps,
Corey


SCJP Tipline, etc.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: String to date conv