Template:Dr-yr

Converts a year/decade/century/millennium number (prefix a minus for BC) into the first year of that period, for use in dr. Second parameter is y/d/c/m.