I have an input text.
<input type="Text" id="demo2" maxlength="25" size="20" name="akhir">
<a href="javascript:NewCal('demo2','ddmmmyyyy',true,24)"><img src="image/cal.gif" width="16" height="16" border="0" alt="Pick a date"></a>
the output in the text box will be 23-Jun-2005
to insert into thw MySQL database I need to convert the date format to be YYYY-MM-DD
Can someone help me on this formatting.
😕