ValidationHelperIsIntervalValid Method |
Returns true if fromDate precedes toDate.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
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