calculating difference of times

2012-07-27 Thread Matthias Apitz
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,

calculating difference of times

2012-07-27 Thread Robert Huff
Matthias Apitz writes: 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

Re: calculating difference of times

2012-07-27 Thread Matthew Seaman
On 27/07/2012 13:34, Matthias Apitz wrote: 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