I now it has been aswer before, the problem is that I get the date from an input is not the current date.
I need to get the day of the week. Currently I get the date with this format :
11/09/2013
But I want it like:
Saturday/02/2013.
I'm using datepicker to show the calendar, so it could be some solution that would help me using the same plugin.