rouli
10-19-2005, 05:09 AM
hi everyone,
i am using a javascript calendar but i want to start the week from monday instead of sunday.
i changed an array var WeekDay = new Array("Su","Mo","Tu","We","Th","Fr","Sa"); to
var WeekDay = new Array("Mo","Tu","We","Th","Fr","Sa","Su"); and it worked fine (didnt do
much effort lol :D), but i discovered a bug where December 2000 started on a monday instead of a
sunday so i thought there might be other similar bugs too...
is there any function i should use that would start the week from monday? if anyone has ideas please
let me know
thank u :)
i am using a javascript calendar but i want to start the week from monday instead of sunday.
i changed an array var WeekDay = new Array("Su","Mo","Tu","We","Th","Fr","Sa"); to
var WeekDay = new Array("Mo","Tu","We","Th","Fr","Sa","Su"); and it worked fine (didnt do
much effort lol :D), but i discovered a bug where December 2000 started on a monday instead of a
sunday so i thought there might be other similar bugs too...
is there any function i should use that would start the week from monday? if anyone has ideas please
let me know
thank u :)