Reference > TDBDateX Object > TDBDateX Object Properties > FiscalQuarter Property (TDBDateX) |
FiscalQuarter Property (TDBDateX)
The FiscalQuarter property determines if the date set in the Value property is in the first, second, third or the fourth quarter of a fiscal year (when the fiscal year is divided into four quarters).
object.FiscalQuarter
Read-only at run time. Not available at design time.
Description |
Run Time |
1 - First quarter |
dbi1stQuarterOfYear |
2 - Second quarter |
dbi2ndQuarterOfYear |
3 - Third quarter |
dbi3rdQuarterOfYear |
4 - Fourth quarter |
dbi4thQuarterOfYear |
Based on the month set by the FirstMonth property, the quarter of the fiscal year is calculated for the date.
When the Value property equals Null, the FiscalQuarter property will return a -1.
This property is left in the TDBDate control just for backward compatibility, and will not be supported in the future versions. Therefore, we recommend you use the DateX object included in the package instead, which provides the equivalent feature.
See Also
FirstMonth Property (TDBDateX)