Vorlage:Dr-yr

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 Vorlage:Tl. Second parameter is y/d/c/m.