Check if a date is between two dates
Namespace:
Devolutions.UtilsAssembly: Devolutions.Utils (in Devolutions.Utils.dll)
Syntax
| Visual Basic |
|---|
Public Shared Function IsBetween ( _ minInterval As DateTime, _ maxInterval As DateTime, _ value As DateTime _ ) As Boolean |
| C# |
|---|
public static bool IsBetween( DateTime minInterval, DateTime maxInterval, DateTime value ) |
Parameters
- minInterval
- Type: System..::..DateTime
- maxInterval
- Type: System..::..DateTime
- value
- Type: System..::..DateTime