Click or drag to resize
DateTimeHelperIsValidFromTo Method
Returns true if DateTime "from" is lower than or equal to DateTime "to" or one of them is equal to ZeroTime.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static bool IsValidFromTo(
	DateTime from,
	DateTime to
)

Parameters

from
Type: SystemDateTime
DateTime From
to
Type: SystemDateTime
DateTime To

Return Value

Type: Boolean
See Also