I have a jquery calendar that sets the input value to MM/DD/YYYY
How would I convert it so that my database column (date) can accept it correctly?
EDIT
Try the following code:
$date = "01-14-2010"; echo $your_date = date("Y-m-d", strtotime($date));
It will echo 1969-12-31.
1969-12-31