Jump to content

problem with form date picker


ukscotth

Recommended Posts

<?php
$date_from_date_picker = "21 Sep 2011";
$mysql_friendly_date_string = date("Y-m-d", strtotime( $date_from_date_picker ) );

?>

 

also, you can probably configure the datepicker to give you the format you want too.  but thats a different forum  :shy:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.