FlowWright.cDevDeAPI Namespace
FlowWright.cDevDecisionEngine Namespace

clsDateTimeExt..::..Next Method

Gets a DateTime representing the first date following the current date which falls on the given day of the week

Namespace:  System
Assembly:  deDataAccess (in deDataAccess.dll)

Syntax


public static DateTime Next(
	DateTime current,
	DayOfWeek dayOfWeek
)
Public Shared Function Next ( _
	current As DateTime, _
	dayOfWeek As DayOfWeek _
) As DateTime
public:
static DateTime^ Next(
	DateTime^ current, 
	DayOfWeek^ dayOfWeek
)

Parameters

current
Type: DateTime
The current date
dayOfWeek
Type: DayOfWeek
The day of week for the next date to get

Return Value

DateTime.