Template:Age: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#expr:({{{4|{{formatnum:{{CURRENTYEAR}}|R}}+377}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>
<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 the current stardate based on today's real life date (SB118 is set 377 years after the real life current date).
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 the current stardate based on today's real life date (SB118 is set 377 years after the real life current date).


Navigation menu