DateTimeExtensions..::..AddWorkdays Method

Adds the workdays. DateTime due = DateTime.Today.AddWorkdays(10); // due in 10 workdays

Namespace:  Core
Assembly:  Core (in Core.dll)

Syntax


public static DateTime AddWorkdays(
	DateTime d,
	int days
)

Parameters

d
Type: DateTime
The d.
days
Type: Int32
The days.

Return Value

returns DateTime