I thought i would ask another question relating to date within this
thread.
I have a field in my database which is of type DATETIME. I have nothing to do with the update and parsing of data into this database, so I dont know how its done, but I need to be able to compare Dates that I am generating, to those in the database.
Problem I am having is that in the database a date will be
01/03/10 00:11:23
and my java date will be
Mon March 01 00:11:23 GMT 2010
Now i can get it in the right format by using SimpleDateFormat, but then I have a
string, and casting it back to date, just gives me the date in the format above.
How can I get something into a format that will work?