File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes JSP abd Date Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP abd Date Object" Watch "JSP abd Date Object" New topic
Author

JSP abd Date Object

Anthony Smith
Ranch Hand

Joined: Sep 10, 2001
Posts: 285
I got a form where a user type a date in the following format:
06/23/99 how can I convert to Date object in Java?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Check out java.text.SimpleDateFormat
Dave.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

If you search in the Java in General (beginners) forum, you'll find a post i made about this. That particular API gave me some trouble, so take a look at the code I have there for some help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP abd Date Object
 
Similar Threads
Date Query
Regarding HttpSession
Question on Creation of a Date Object
conversion from Date ojbect to Date object
compare dates which are in string variable in javascript