Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/calcage

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
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

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 gglo.ist -o calcage.gls calcage.glo
makeindex -s gind calcage
pdflatex calcage.dtx
thumbpdf calcage
pdflatex calcage.dtx

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.

Li­cense The Project Public Li­cense 1.3
Main­tainerRobin Sch­nei­der
Con­tained inTeX Live as calcage
MiKTeX as calcage
Topics ma­nip­u­late dates and/or times
Guest Book Sitemap Contact Contact Author