فرما:Dr-yr
Template documentation
Converts a year/decade/century/millennium number (prefix a minus for BC) into a representative year (the second year, for decades/centuries/millennia) of that period, for use in {{dr}}. Second parameter is y/d/c/m.