🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #10077

calculated years between dates

#10077
From: John W. Wooten
Date: Tue, 04 Jun 1991 14:55
16 lines
803 bytes
Has anyone seen a definition in LaTeX that would
provide a way to calculate the number of years between two dates?

I want to provide something like.

While this has been available for \age{10-21-75}{\today} years, it
is no...

and have it generate
While this has been available for 15 years, it
is no...

Any ideas on a simple way to do this?

Thanks in advance.
John W.
Technical Details
Message-ID: <1991Jun4.145544.26565@cs.utk.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!utkcs2!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!utkcs2!usenet
From: woo@ornl.gov (John W. Wooten)
Newsgroups: comp.text.tex
Subject: calculated years between dates
Message-ID: <1991Jun4.145544.26565@cs.utk.edu>
Date: 4 Jun 91 14:55:44 GMT
Sender: usenet@cs.utk.edu (USENET News Poster)
Organization: Univ of TN, Knoxville - CS Department
Lines: 16