Two Laptop Bag
The moose likes Java in General and the fly likes String to Date??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "String to Date???" Watch "String to Date???" New topic

String to Date???

Drake Silver
Ranch Hand

Joined: Apr 21, 2002
Posts: 80
Anyone know how I could parse a String into a Gregorian Calender Date...??
I've tried converting the string to an integer..but no luck there...
Any ideas...'

"Shh, come one Now!"
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Try the parse(String source) method of SimpleDateFormat.

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
I agree. Here's the link:
subject: String to Date???
It's not a secret anymore!