Template talk:Age in years nts

Latest comment: 2 years ago by Kwamikagami in topic how do I put in negative year date?

how do I put in negative year date? edit

E.g. 600 BCE to present. — kwami (talk) 06:53, 4 July 2021 (UTC)Reply

@kwami: This template now uses Module:Age and consequently can use its tricks.
  • {{age in years nts|600 BCE|range=no}}2,623
It also accepts a negative year but you have to account for the fact that there was no year zero. That means the year could be entered as -599 (with a hyphen-dash). Johnuniq (talk) 07:48, 4 July 2021 (UTC)Reply

Thanks! I was missing the 'range=no'. — kwami (talk) 07:52, 4 July 2021 (UTC)Reply