I am using jquery datetime picker. it is showing date in "yy/MMM/dd hh:mm:ss" format on selecting the date and time. i am not able to change its format. How can i change it to my custom format "dd/MM/yyyy hh:mm"
I am using jquery datetime picker. it is showing date in yy/MMM/dd hh:mm:ss format
Share
You can set it at initialization like this:
Or you can set the date format after initialization using the following code:
$( ".selector" ).datepicker( "option", "dateFormat", 'yy-mm-dd' );