Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2012 14:34:30 +0200
From:      Matthias Apitz <>
Subject:   calculating difference of times
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help


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 Apitz
e <> - w
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

Want to link to this message? Use this URL: <>