Template:User current age/doc

Usage
Input your date of birth into the template, like so: which produces:

The userbox, with your current age.