jQuery Date Picker to MySQL Database Format

//
//   Convert a date from jQuery 'Date picker' date to the database date format
//
function dpDateToDbDate($date){
$time = strtotime($date);
return date('Y-m-d', $time);
}

Related posts:

  1. Convert a ‘safe’ url into words, for display on the page or inserting into a database
  2. Find and Replace text in whole MySQL database
  3. Backup Database with PHP
  4. jQuery .hover();
  5. jQuery .click();

This post has had 28 views