Click or drag to resize
SchedulingHelperGetNextTime Method
Returns date and time when the next scheduling moment occurs based on the current date and time and the scheduling pattern string.

Namespace: CMS.Scheduler
Assembly: CMS.Scheduler (in CMS.Scheduler.dll) Version: 8.2.23
Syntax
C#
public static DateTime GetNextTime(
	string schedulingPattern,
	DateTime lastRunTime,
	DateTime plannedRunTime
)

Parameters

schedulingPattern
Type: SystemString
information about task repeating
lastRunTime
Type: SystemDateTime
Last run time of task
plannedRunTime
Type: SystemDateTime
Planned run time of task

Return Value

Type: DateTime
See Also