calculating difference of times
Matthias Apitz
guru at unixarea.de
Fri Jul 27 12:34:44 UTC 2012
Hello,
Do we have something (in the ports) to calculate easy the difference of
two times given as hh:mm - hh:mm? Some hack in bc(1) or something like
this? Well, I could translate the times into UNIX seconds of epoche,
build the diff and reconvert, but something more easy (and not in Perl
or C, just shell); thanks
matthias
--
Matthias Apitz
e <guru at unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
More information about the freebsd-questions
mailing list