Allan
asked on
Compare DayOfWeek
Hi Experts,
Having problem compare the day of the week
Dim strDayOfWeek = "Monday"
IF Now.DayOfWeek = strDayOfWeek THEN <-- HOw to compare?
END IF
Can you please help?
TIA!
Having problem compare the day of the week
Dim strDayOfWeek = "Monday"
IF Now.DayOfWeek = strDayOfWeek THEN <-- HOw to compare?
END IF
Can you please help?
TIA!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ahh, yes I was looking for the .toString. Thanks.
I'll split the points.
I'll split the points.
so this would work
If DateTime.Now.DayOfWeek = DayOfWeek.Monday Then