Given a Date or DateTime, the DayOfWeek property gives a text value eg. Friday, whereas I need the integer value. Where is that?
What Im trying to do is get the Sunday date for the current week, so I supposed it would be:
CurrentDate - DayOfWeek
help?