Template:Userbox:current age/doc

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

The Userbox, with your current age.