Command-line-interface (CLI) calculator to work out the difference between 2 dates
- From: "j t" <mark473@xxxxxxxxx>
- Date: Sun, 24 Aug 2008 16:07:59 +0100
Hi all.
Does anyone have any suggestions for a command-line-interface (CLI)
calculator that can work out the difference between 2 (gregorian)
dates (i.e. that is calendar aware). My favourite cli calculator
("bc") doesn't seem to have any knowledge of the gregorian calendar.
Just to make it clear, I'd like to be able to type in:
20080824-20080724 and it would work out the answer as 31
(I'm happy to use any date format for input - I've only used ISO8601
as an example)
J :-)
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: Command-line-interface (CLI) calculator to work out the difference between 2 dates
- From: Sergio Perticone
- Re: Command-line-interface (CLI) calculator to work out the difference between 2 dates
- From: gary turner
- Re: Command-line-interface (CLI) calculator to work out the difference between 2 dates
- From: Ron Johnson
- Re: Command-line-interface (CLI) calculator to work out the difference between 2 dates
- From: Edward J. Shornock
- Re: Command-line-interface (CLI) calculator to work out the difference between 2 dates
- Prev by Date: Re: nvidia twinview broken
- Next by Date: Re: Command-line-interface (CLI) calculator to work out the difference between 2 dates
- Previous by thread: emacs keyboard macro converted to function
- Next by thread: Re: Command-line-interface (CLI) calculator to work out the difference between 2 dates
- Index(es):
Relevant Pages
|