datepicker format date before inserting in mysql db
Hi all,
I have a form with a datepicker field. The adtepicker uses dates in the format dd/mm/yyyy format.
But my db accepts dates in yyyy-mm-dd format.
How can I format the date on-the-fly while inserting records in the database?