GetYearDates

ACCPAC Common Controls

AccpacFiscalCalendar.GetYearDates

Retrieves the start and end dates of a given fiscal year.

Function GetYearDates(
  Year As String,
  [StartDate As Date],
  [EndDate As Date]) As Boolean

Parameters

Year

[in] the fiscal year to locate in the fiscal calendar

StartDate

[out, optional] returns the fiscal year start date

EndDate

[out, optional] returns the fiscal year end date

Return Value

Returns whether the specified fiscal year is defined in the fiscal calendar.