Reference > TDBDate Control > TDBDate Control Properties > FiscalYear Property (TDBDate) |
Based on the month set by the FirstMonth property, the fiscal year is calculated for the date set in the Value property.
object.FiscalYear
Read-only at run time. Not available at design time.
When the Value property equals Null or the fiscal year exceed and does not exist in the range from 100/01/01 to 9999/12/31, the FiscalYear 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 to use the TDBDateX object included in the package instead, which provides the equivalent feature.
See Also