My UI date picker shows the date as mm/dd/yy format I need to change this as monthname-dd-yy i.e.
04/02/2012 as march-02-2012
But I don't know how?
Does anyone know this?
Please advice
My UI date picker shows the date as mm/dd/yy format I need to change this as monthname-dd-yy i.e.
04/02/2012 as march-02-2012
But I don't know how?
Does anyone know this?
Please advice
You can pass the dateFormat
option to the datepicker
$('#picker').datepicker({
dateFormat:'MM-dd-yy'
});