php - how to change input type date from 2017-09-13 to 2017/Sep/13? -
this question has answer here:
- how set date format in html date input tag? 11 answers
how change input type date 2017-09-13 2017/sep/13 ??
<input type="date" name="ddat" format="yyyy-mm-dd" >
$date = $_post['date']; $date = date("y/m/d", strtotime($date));
Comments
Post a Comment