Possible Duplicate:
Managing date formats differences between PHP and MySQL
I am using jQuery ui datepicker
and initialized with following format
$("#task_date").datepicker({dateFormat : "m/d/y",
showOn: "button",
buttonImage: "<?= base_url(); ?>assets/img/calendar.png",
buttonImageOnly: true
});
so the date format is in "m/d/y"
,how can i convert it to mysql date format ?
also i need to convert from mysql date format to "m/d/y"
...