Template:Userbox:current age/doc

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

The Userbox, with your current age.