[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.dll)
Version: 7.3.2.0

Syntax

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

Parameters

selDate
DateTime
The date in question
weekStartDay
DayOfWeek
The day that is assigned to be the start day of the week
payrollStartDate
DateTime
The date when the payroll starts

Return Value

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

See Also