javascript - bootstrap date time picker change format -
i'm using bootstrap date time picker select date time format mm/dd/yyyy hh:ii want change format dd/mm/yyyy hh:ii
i had used method didn't have format want same format still appear
<script type="text/javascript"> $(function () { $('#datetimepicker1').datetimepicker({ format: "dd/mm/yyyy hh:ii" }); }); </script>
html code:
<input type="text" value="" id="datetimepicker1" name="txt_padd" placeholder="actual date" class="form-control input-md" onchange="call()" onkeyup="savevalue(this);" >
how can change format of datetimepicker ??!!
Comments
Post a Comment