I am trying to write a LINQ
or LINQPad4
Query to check if a DateRange
falls over a weekend.
Does anybody have a method of doing this?
It could either check if any of the named days within the DateRange
is "Sat" if that is an easier way to do it.
If it is not possible to do this for a DateRange
is there any way to check the named day of a specific DateTime
?
==EDIT==
I am trying to do this all within the LINQ
Query Expression to Query an SQL
Datebase.