Reference > TDBDateX Object > TDBDateX Object Properties > Era Property (TDBDateX) |
Era Property (TDBDateX)
The Era property returns a number that indicates an era name for the appropriate Emperors.
object.Era
Read-only at run time. Not available at design time.
Description |
Run Time |
0 - (1868/09/08 - 1912/07/29) |
dbiMeiji |
1 - (1912/07/30 - 1926/12/24) |
dbiTaisho |
2 - (1926/12/25 - 1989/01/07) |
dbiShowa |
3 - 1989/01/08 - 2087/12/31) |
dbiHeisei |
Notes
This property is useful for international developers working with Japanese dates.
When the Value property equals Null, or exceeds the range from 1868/09/08 to 2087/12/31, the Era property will return a -1.
In the previous versions, this property was named EraName.
See Also