Direc­tory macros/latex/contrib/calcage

README

LaTeX package 'calcage'
~~~~~~~~~~~~~~~~~~~~~~~~
Copyright (C) 2012 by Robin Schneider <ypid23@aol.de>
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

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.