ValidationHelperIsIntervalValid Method |
Returns true if fromDate precedes toDate.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax public static bool IsIntervalValid(
DateTime fromDate,
DateTime toDate,
bool nullFriendly
)
Parameters
- fromDate
- Type: SystemDateTime
Start time - toDate
- Type: SystemDateTime
End time - nullFriendly
- Type: SystemBoolean
Tolerate nil dates
Return Value
Type:
BooleanSee Also