Is there any examples on how to return the week number of the selected date in DatePicker into a textbox?
I've tried calculateWeek, but there doesn't seem to be much documentation to get it working.
- $('#datepicker').datepicker({
- changeMonth: true,
- changeYear: true,
- showOtherMonths: true,
- selectOtherMonths: true,
- showWeek: true,
- dateFormat: 'yy',
- calculateWeek: myWeekCalc,
- firstDay: 1
- });
Ideally I would like to return a formated date like yy-ww e.g. 2010-47
Many Thanks