ComponentOne True DBInput Pro 8.0
EraYear Property (TDBDate)

Returns the era year for the date set in the Value property. This property is useful for international developers working with Japanese dates. The EraYear property returns the number of years since the appropriate Japanese Emperor ascended to the royal throne.

Syntax

TDBDate.EraYear

Read-only at run time. Not available at design time.

Remarks

When the Value property equals Null, or exceeds the range from 1868/09/08 to 2087/12/31, the EraYear property will return a -1.

This property is left in the control just for backward compatibility, and will not be supported in future versions. Therefore, we recommend you use the TDBDateX object included in the package instead, which provides the equivalent feature.

See Also

EraYear property (TDBDateX)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback