File pop_datepicker.asp
Note: Changes below apply to the file to be downloaded from the link below:
http://kinser.121hosts.net/files/pop_datepicker.zip
Changes to be made
Find the following statement on Line 20
dim strCookieURL, strTimeAdjust, strForumTimeAdjust
Add the part in red as shown below
dim strCookieURL, strTimeAdjust, strForumTimeAdjust, intFirstDayOfWeek
Find the following statement on Line 23
strForumTimeAdjust = DateAdd("h", strTimeAdjust , Date())
Add the following statement just below the above statement
Rem -vbMonday,vbTuesday,vbWednesday,vbThursday,vbFriday,vbSaturday,vbSunday
Rem -Change the day to whichever day you want as the first day of week
Rem -Following sets the Moday as the first day of week
intFirstDayOfWeek = vbMonday
Find the following statement on Line 90
GetWeekdayMonthStartsOn = WeekDay(dTemp)
Change it as below
GetWeekdayMonthStartsOn = WeekDay(dTemp, intFirstDayOfWeek)
Find the following statement on Line 246
WeekDayName(iWeekDayName, True)
Change as below
WeekDayName(iWeekDayName, True,intFirstDayOfWeek)
<