GetQuarterDates

ACCPAC Common Controls

AccpacFiscalCalendar.GetQuarterDates

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

Function GetQuarterDates(
  Year As String,
  Quarter As Integer,
  [StartDate As Date],
  [EndDate As Date]) As Boolean

Parameters

Year

[in] the fiscal year

Quarter

[in] the fiscal quarter

StartDate

[out, optional] returns the quarter's start date

EndDate

[out, optional] returns the quarter's end date

Return Value

Returns whether the specified fiscal year and quarter are defined in the fiscal calendar.