Hi there, I am using
JDBC and a SQL database.
I have an alarm field in the database which is of date/time.
On my front end I have a
String of the format, '01-05-2012' and I am simply inserting it into the database by using the INSERT into X Values ('01-05-2012)
Is this the right way to go about storing a date? Do I need to declare anything the database?