-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2010-01-09 at 17:02 +0100, Jim Hatridge wrote:
Back a few years ago I had a small program that I could input two dates and it would tell me the number of days between them. Does anyone know the name of this program?
"date" can do it. I think. The syntax is not obvious. date --date="Jan 9 2020 - 10 days" Mon Dec 30 00:00:00 CET 2019 I don't remember the syntax to substract two dates :-? Perhaps converting to seconds, substract those, and then convert to a date again. Kind of. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAktIrkwACgkQtTMYHG2NR9U8CgCfb2JQIQIdsJ+pH4hz++l64zxD MAEAniDrpLjihhRYdDhZWlRyekJrsJLs =g8ut -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org