YearName()
Category: Date
Syntax: YearName ( date; format ) |
Parameters:
dateAny calendar date.
formatA number (0, 1, or 2) that controls the display format.
Data type returned: Text (Japanese)
Description:
Returns the Japanese year name for the date specified.
The formats control how the name of Emperor is displayed: 0 = Long, 1 = Abbreviated, 2 = 2-byte Roman. "Seireki" is returned when date falls before Emperial names have been applied.
0 - Meiji
1 - Mei
2 - M8, T8, S8, H8 (before 1868.9.8, A.D.xxxx)
Examples:
Function | Results |
---|---|
YearName(DateField;0) | Returns |
Категории