jonnydexter
Registered User.
- Local time
- Today, 11:37
- Joined
- Aug 31, 2012
- Messages
- 21
Hi
i am using the weekdayname function but it has been returning the wrong value when i use the default setting. I set the start day to vbsunday and it worked correctly. i checked the vbUseSystemDayOfWeek and it is returning 0 where i presumed it was going to return 1.
My question is where do i check why this is returning the incorrect day from the documented default ( according to an article on technet)
i have also discovered that "testdate = WeekdayName(vbSunday)" returns "monday" into testdate! presumably this is some system setting soewhere but my computer appears to be set correctly, what am i missing ?
TIA
i am using the weekdayname function but it has been returning the wrong value when i use the default setting. I set the start day to vbsunday and it worked correctly. i checked the vbUseSystemDayOfWeek and it is returning 0 where i presumed it was going to return 1.
My question is where do i check why this is returning the incorrect day from the documented default ( according to an article on technet)
i have also discovered that "testdate = WeekdayName(vbSunday)" returns "monday" into testdate! presumably this is some system setting soewhere but my computer appears to be set correctly, what am i missing ?
TIA
Last edited: