aspose file tools*
The moose likes Java in General and the fly likes Trying to parse a String to a Date Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Trying to parse a String to a Date" Watch "Trying to parse a String to a Date" New topic
Author

Trying to parse a String to a Date

Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

I just can't seem to get my DateFormat to parse a date. What am I missing?? produces:
I'm at the hair-pulling stage.
Mani Ram
Ranch Hand

Joined: Mar 11, 2002
Posts: 1140
Hi
Try with the following piece of code and see what is the format

In my system the locale is en_US but the date format is Nov 26, 2003


Mani
Quaerendo Invenietis
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

That worked. I've submitted feedback on the tutorial.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trying to parse a String to a Date