Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Java.lang.string to mysql date

mysql string

  • Please log in to reply
No replies to this topic

#1 reachpradeep

reachpradeep

    CC Regular

  • Just Joined
  • PipPipPip
  • 41 posts

Posted 04 March 2007 - 06:08 AM

I have a JSP page which asks the user to enter some date.The user is allowed to enter the date in the format like"2007-02-29".Now when it is taken into some jsp variables,it is treated into string.I have tried a lot of techniques but no way. Have an idea,about how to insert this value to the mysql table whose,corresponding field is set to date format(0000-00-00);
What special can I do either in JSP or mysql query.Expecting kind of help.
  • 0





Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download