Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/macros/latex/contrib/calcage

LaTeX package 'calcage'
Copyright (C) 2012 by Robin Schneider <>

This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
of this license or (at your option) any later version.
The latest version of this license is in
and version 1.3 or later is part of all distributions of LaTeX
version 2005/12/01 or later.

Code repository:

Calculates the age in years

The calcage package can calculate the age of someone or something in years.
Internally it uses the datenumber package to calculate the age in days. The
conversion from days to years is implemented by this package. It is also taken
care about leap years and such odd things. 

You can generate the calcage.sty file with: pdflatex calcage.ins

The documentation can be generated with:
pdflatex calcage.dtx
makeindex -s -o calcage.gls calcage.glo
makeindex -s gind calcage
pdflatex calcage.dtx
thumbpdf calcage
pdflatex calcage.dtx


Name Size Date Notes
README 1173 2012-09-16 12:14:24
calcage.dtx 15890 2012-09-16 12:08:03
calcage.ins 664 2012-09-12 08:13:00
calcage.pdf 279088 2012-09-16 12:10:09

Down­load the con­tents of this pack­age in one zip archive (277.0k).

calcage – Cal­cu­late the age of some­thing, in years

The pack­age cal­cu­lates the age of some­one or some­thing in years. In­ter­nally it uses the datenum­ber pack­age to cal­cu­late the age in days; con­ver­sion from days to years is then per­formed, tak­ing care of leap years and such odd things.

Home page­tex-pack­ages/tree/mas­ter/calcage
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2012 Robin Sch­nei­der
Main­tainerRobin Sch­nei­der
Con­tained inTeXlive as calcage
MikTeX as calcage
Topics ma­nip­u­late dates and/or times
Guest Book Sitemap Contact 2014-04-24 04:23 CEST