Author
Date problem Not resolved
ankit kumar
Ranch Hand
Joined: Apr 28, 2008
Posts: 105
posted Sep 05, 2008 07:06:00
0
I am reading this from a text file Sep 3 2008 09:31:52.000AM and I want to insert the same Date into SQL database. how i read and parse this date. please post the code.
Cleared SCJP 1.5 | Cleared SCWCD 5.0
SCBCD in progress.....
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12950
posted Sep 05, 2008 09:20:00
0
This question doesn't sound like it has anything to do with the SCJP exam. Please carefully choose one forum when you post a question. I'm moving this to a more appropriate forum for you; follow the link at the top of the page to continue this topic.
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16809
posted Sep 05, 2008 09:25:00
0
It is generally not a good idea to start a new topic to answer a topic. Not only does it confuse everyone, it makes a mess of everything. See the original topic here... http://www.coderanch.com/t/411732/java/java/toconvert-String-date-Object This topic is being closed. Henry
Books: Java Threads, 3rd Edition , Jini in a Nutshell , and Java Gems (contributor)
subject: Date problem Not resolved