[nzlug] Time Calculator

Marvin Pascual marvin at pascual.com.ph
Fri Jan 12 13:45:20 NZDT 2007


Hello all,

On 1/12/07, N Dempsey <NevilleD.AuckLug at sgr-a.net> wrote:
> Hi Marvin,
>
> You can pretty much do the following calculation in your choice of
> language (including C, perl and gawk).  I used python to demonstrate,
> the code finds the date/time 1 million seconds from the given date/time.

- - - < s n i p > - - -

Thanks to all who responded.  All of your suggestions were good enough
and powerful.  But I'm just looking for a very simple time calculator
that can just do a simple calculations like add, subtract, multiply
and divide a time with the following format:  "HH:MM:SS.MS".  This
time format comes from the "time" command.

Once again, thank you.

Marvin




More information about the NZLUG mailing list