IsWeekday
Returns true
if the given DateTime
is a weekday, false
otherwise.
- Use
DateTime.DayOfWeek
to check if the givenDateTime
is not a Saturday or Sunday.
Returns true
if the given DateTime
is a weekday, false
otherwise.
DateTime.DayOfWeek
to check if the given DateTime
is not a Saturday or Sunday.