Click or drag to resize
IOffPeakServiceIsOffPeak Method
Checks whether given DateTime is in off-peak period.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
bool IsOffPeak(
	DateTime dateTime
)

Parameters

dateTime
Type: SystemDateTime
The date to check off-peak period for

Return Value

Type: Boolean
True if dateTime is in off-peak, false otherwise.
See Also