richcleverley
MIS
Hi,
I have a database that stores dates using the mysql date/time field type. I want to be able to enter UK style dates (eg 29/07/05 for 29th July 2005) and have them convert into the same format as the mysql date/time field (eg 2005-05-29 00:00:00) for entering into the database.
Is there an easy way to do this? I use the mysql now() function to check dates to see if they have expired and need to be able to use UK style dates.
Thanks
Richard
I have a database that stores dates using the mysql date/time field type. I want to be able to enter UK style dates (eg 29/07/05 for 29th July 2005) and have them convert into the same format as the mysql date/time field (eg 2005-05-29 00:00:00) for entering into the database.
Is there an easy way to do this? I use the mysql now() function to check dates to see if they have expired and need to be able to use UK style dates.
Thanks
Richard