Using Datejs – Get the day of the week
I’m also using http://www.datejs.com. And I also must be missing it. Is there a way I can have the day number of the week?
I know I can use an array equivalence, but the library is so good that I think I’m missing it, and I looked everywhere.
UPDATE:
I also know I can use the date getDay method, but I think there is a datejs alternative to correct some weird behavior of the built in date object.
You can get the number with the standard
Datemethods,getDayorgetUTCday: