23,985
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#expr:({{{4| | <includeonly>{{#expr:({{{4|{{formatnum:{{CURRENTYEAR}}|R}}+377}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude> | ||
This template returns the number of full years between two specified dates. If the second set of parameters is not included, it will return the number of full years between a specified date and today's real life date. Because SB118 is set 377 years after the real life current date, you can calculate your characters' ages by subtracting 377 from their birth year and putting it in the template. | This template returns the number of full years between two specified dates. If the second set of parameters is not included, it will return the number of full years between a specified date and today's real life date. Because SB118 is set 377 years after the real life current date, you can calculate your characters' ages by subtracting 377 from their birth year and putting it in the template. | ||