SyntaxFix
Write A Post
Hire A Developer
Questions
Write yourself a Helper function:
public static bool IsBewteenTwoDates(this DateTime dt, DateTime start, DateTime end) { return dt >= start && dt <= end; }
Then call: .IsBewteenTwoDates(DateTime.Today ,new DateTime(,,));