[This is preliminary documentation and is subject to change.]
Gets the start date of the payroll cycle
Namespace: OfficeClip.BusinessLayer
Assembly: OfficeClip.BusinessLayer (in OfficeClip.BusinessLayer.dll)
Version: 7.3.2.0
Syntax
| C# |
|---|
public static DateTime GetStartDate( DateTime selDate, DayOfWeek weekStartDay, DateTime payrollStartDate, BusinessConstants.BusinessConstants..::TimesheetPeriod tp ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function GetStartDate ( _ selDate As DateTime, _ weekStartDay As DayOfWeek, _ payrollStartDate As DateTime, _ tp As BusinessConstants..::TimesheetPeriod _ ) As DateTime |
| Visual C++ |
|---|
public: static DateTime GetStartDate ( DateTime selDate, DayOfWeek weekStartDay, DateTime payrollStartDate, BusinessConstants..::TimesheetPeriod tp ) |
Parameters
- selDate
- DateTime
The selected date from where the start date has to be determined
- weekStartDay
- DayOfWeek
The week start date for weekly and biweekly time and expenses
- payrollStartDate
- DateTime
The start date of the payroll
- tp
- BusinessConstants..::TimesheetPeriod
The timesheet period: weekly, biweekly, semimonthly and semimonthly
Return Value
See Also
Utility Class
OfficeClip.BusinessLayer Namespace
