ajax - i have used datepicker but it always store date like 1970-01-01 -
can 1 please me? used date picker
date , select today stores 1970-01-01
.
$("#datepicker-1").datepicker(); });
and in php file stored in database:
$dt=$_post['date']; $dt1=date('y-m-d',strtotime($dt));
but stores 1970-01-01
no matter date choose. please me.
Comments
Post a Comment