I am using jQuery datepicker. I have bound a Textbox
with Datepicker
. I want to change the date format so that it displays dates like Tuesday, 29 - Jan - 2013
. How can I do that ?
Asked
Active
Viewed 233 times
-1

marc_s
- 732,580
- 175
- 1,330
- 1,459

Ajay Parmar
- 39
- 7
-
2http://api.jqueryui.com/datepicker/#option-dateFormat – JJJ Jan 29 '13 at 09:25
-
possible duplicate of [jQuery UI DatePicker - Change Date Format](http://stackoverflow.com/questions/1328025/jquery-ui-datepicker-change-date-format) – Aleksander Blomskøld Jan 29 '13 at 10:40
3 Answers
0
0
Try this,
$( ".selector" ).datepicker({ dateFormat: 'DD, d-M-yy' });
http://jqueryui.com/resources/demos/datepicker/date-formats.html

Nandu
- 3,076
- 8
- 34
- 51