Hi
I have the following code below for my php form
<script language="javascript" type="text/javascript" src="datetimepicker.js"></script>
<form action="date.php" method="post">
Date: <input type="Text" id="date" maxlength="25" size="25"><a href="javascript:NewCal('demo1','ddmmmyyyy',true,24)"><img src="images/cal.gif" width="16" height="16" border="0" alt="Date"></a>
I am using the following javascript code datepicker code that shows as follows[ATTACH]5427[/ATTACH]
When i enter a date 13-12-2016 click on the submit button and go into mysql database I only get to see 0000-00-00 how to convert my javascript code to a format that mysql accepts
datepicker.jpg