ComponentOne True DBInput Pro 8.0
EraName Property (TDBDate)

Returns an era name for the date set in the Value property. This property is useful for intermational developers working with Japanese dates, because it will return the era name for the appropriate Japanese Emperor. For example: Jan, 7, 1989 will return "SHYOWA" (in DBCS) and the date which follows will return "HEISEI" (in DBCS).

Syntax

object.EraName

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 EraName property will return a zero-length string.

The Era property of the DateX object included in the package provides the equivalent feature.

See Also

Era Property (TDBDateX)

Value Property (TDBDateX)

 

 


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

Product Support Forum  |  Documentation Feedback