I would like to detect if a given day is between two days of the week using C#. So the scenario would be that detecting Tuesday (Could be DateTime.Now.DayOfWeek) is between Monday to Saturday. Likewise, I need to detect a given day is between two certain days of the week and treat it differently. The two certain days are static and the given date must be dynamic
as it depends on what day the users access the system.
I would like to detect if a given day is between two days of
Share
1 Answer