{{Age in years|2000}} yields २३–२४. {{Age in years|1900|1950}} yields ४९–५०.

Note that the template provides an age range: during the year 2015, someone born in 2000 is either 14 or 15 years old, depending on whether they have passed their birth date in the later year.