[This is preliminary documentation and is subject to change.]

Returns the weekly start dates in a DataTable.

Namespace:  OfficeClip.BusinessLayer
Assembly:  OfficeClip.BusinessLayer (in OfficeClip.BusinessLayer)
Version: 8.1.1.0

Syntax

C#
public static DataTable GetWeekStartDates(
	DateTime selDate,
	DayOfWeek weekStartDay,
	DateTime payrollStartDate,
	int numPeriodForward,
	int numPeriodBackward
)
Visual Basic (Declaration)
Public Shared Function GetWeekStartDates ( _
	selDate As DateTime, _
	weekStartDay As DayOfWeek, _
	payrollStartDate As DateTime, _
	numPeriodForward As Integer, _
	numPeriodBackward As Integer _
) As DataTable
Visual C++
public:
static DataTable^ GetWeekStartDates(
	DateTime selDate, 
	DayOfWeek weekStartDay, 
	DateTime payrollStartDate, 
	int numPeriodForward, 
	int numPeriodBackward
)

Parameters

selDate
Type: System..::.DateTime
The date in question
weekStartDay
Type: System..::.DayOfWeek
The day that is assigned to be the start day of the week
payrollStartDate
Type: System..::.DateTime
The date when the payroll starts
numPeriodForward
Type: System..::.Int32
numPeriodBackward
Type: System..::.Int32

Return Value

The datatable containing two columns, Dt - The date of the day, Desc - The date in the string format

See Also