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 8, Taisho 8, Showa 8, Heisei 8 (before 1868.9.8, Seireki
1 - Mei 8, Tai 8, Sho 8, Hei 8 (before 1868.9.8, Sei
2 - M8, T8, S8, H8 (before 1868.9.8, A.D.xxxx)
Examples:
Function | Results |
---|---|
YearName(DateField;0) | Returns when DateField contains 7/17/2002. |
: FileMaker Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
Calculation Signatures
Calculation Functions
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Scripting Primer
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information