LaTeX package 'calcage' ~~~~~~~~~~~~~~~~~~~~~~~~ Copyright (C) 2012 by Robin Schneider <firstname.lastname@example.org> 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 http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all distributions of LaTeX version 2005/12/01 or later. CTAN: http://www.ctan.org/pkg/calcage Code repository: https://github.com/ypid/latex-packages/tree/master/calcage DESCRIPTION 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. GENERATING THE FILES You can generate the calcage.sty file with: pdflatex calcage.ins The documentation can be generated with: pdflatex calcage.dtx makeindex -s gglo.ist -o calcage.gls calcage.glo makeindex -s gind calcage pdflatex calcage.dtx thumbpdf calcage pdflatex calcage.dtx
Download the contents of this package in one zip archive (277.0k).
calcage – Calculate the age of something, in years
The package calculates the age of someone or something in years. Internally it uses the datenumber package to calculate the age in days; conversion from days to years is then performed, taking care of leap years and such odd things.
|License||The LaTeX Project Public License 1.3|
|Contained in||TeX Live as calcage|
|MiKTeX as calcage|
manipulate dates and/or times|