Click or drag to resize
ValidationHelperIsIntervalValid Method
Returns true if fromDate precedes toDate.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
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: Boolean
See Also