Gemstone Common Library
Show/Hide TOC

# ScheduleNextTimeDue Method

Determines the nearest timestamp past the given timestamp that matches the schedule.

## Definition

Namespace: Gemstone.Scheduling
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.156 -- Release Build+59006cef9614396d8b79971beebc1091829bcfe4
C#
View Source Request Example

    public DateTime NextTimeDue(
    	DateTime targetDateTime
    )

VB
View Source Request Example

    Public Function NextTimeDue (
    	targetDateTime As DateTime
    ) As DateTime

C++
View Source Request Example

    public:
    DateTime NextTimeDue(
    	DateTime targetDateTime
    )

JavaScript
View Source Request Example

    function NextTimeDue(targetDateTime);

#### Parameters

targetDateTime DateTime
  The target timestamp

#### Return Value

DateTime
The timestamp past the target that the schedule will next be due

## See Also

#### Reference

Schedule Class
Gemstone.Scheduling Namespace