Click or drag to resize

UtilNextTimeAfter Method

Returns the next time after currentTime, being an integer multiplum of dt after startTime

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static DateTime NextTimeAfter(
	DateTime startTime,
	TimeSpan dt,
	DateTime currentTime
)

Parameters

startTime
Type: SystemDateTime
dt
Type: SystemTimeSpan
currentTime
Type: SystemDateTime

Return Value

Type: DateTime
See Also