Forum Moderators: coopster
I need ur wisdom guys...I ahve a javascript calendar to display dates in text boxes...however..the date is in this format : 20/02/2006..is there any way I can change it to this fromat: 2006/02/20 before submitting to DB?
thx in advance
Try something like:
list($day,$month,$year) = split("/",$old_date);$new_date = $year."/".$month."/".$day;