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.SchedulerAssembly: CMS.Scheduler (in CMS.Scheduler.dll) Version: 8.2.23
Syntax 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:
DateTimeSee Also