Latest news
Home » jQuery » jquery datetimepicker time and date format

jquery datetimepicker time and date format

Use the following script for getting the jQuery picked date in our format.

<script type=”text/javascript”>
jQuery(document).ready(function() {
jQuery(“.editdatepicker”).datepicker({
dateFormat: “dd-mm-yy”,
timeFormat: “HH:mm”,
minDate: 0
});
});

</script>

Leave a Reply

x

Check Also

How to Check Expired Sessions using jQuery Ajax and PHP

We can achieve using the php and ajax.The following ajax call execute in every 10 ...