If(Year(${Contacts.Date of Birth})>0,
Concat(
If(Datecomp(${Contacts.Date of Birth},Newdate(2019,04,30,11,59,'PM'))>0
,Replace(Concat('令和',Tostring(Year(${Contacts.Date of Birth})-2018),'年'),'.0','')
,If(Datecomp(${Contacts.Date of Birth},Newdate(1989,01,07,11,59,'PM'))>0
,Replace(Concat('平成',Tostring(Year(${Contacts.Date of Birth})-1988),'年'),'.0','')
,Replace(Concat('昭和',Tostring(Year(${Contacts.Date of Birth})-1925),'年'),'.0','')
)
)
,Tostring(Month(${Contacts.Date of Birth}))
,'月'
,Tostring(Dayofmonth(${Contacts.Date of Birth}))
,'日'
)
,'')