Returns whether a date time is between two other dates. Optionally can compare date only or date and time.
public static bool IsBetween(DateTime date, DateTime startDate, DateTime endDate, bool includeTime)
Return Value
true or false
Parameters
date
startDate
endDate
includeTime
If true compare date and time, otherwise just date
Overloads:
See also:
Class TimeUtils© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic