Template:Birthdate and Age

From LCARS
Jump to: navigation, search


Usage

For use with displaying a person's birthdate and age in in-universe time. Default display is Month DD, YYYY; use parameter df=y for the alternative display of DD Month YYYY or df=sd for ucip stardate of YYYYMM.DD.

Examples

Code Result
{{Birthdate and Age|2380|03|04}} March 4, 2380 (age: 39)
{{Birthdate and Age|2380|09|10|df=y}} 10 September 2380 (age: 39)
{{Birthdate and Age|2380|12|25|df=sd}} 238012.25 (age: 38)