I currently have the following code which selects the week number of the selected date and also the selected date:
$(this).val("Week Number " + $.datepicker.iso8601Week(new Date(dateText)) + " - " + $.datepicker.formatDate('d M yy', new Date(dateText)));
outputting something like:
Week Number 41 - 8 Oct 2012
What I would like to achieve is something like the following
Week Number 41 - 8 Oct to 14 Oct 2012
So selected date to selected date + 6 days.
Any ideas how I can do this?
Like this:
Edit: changed 7 days to 6 days.