Part of a program I'm writing has to see if two events happen less
than 30 seconds apart. What's the best way to do this?
Is there something already in the time library that will let me, e.g.,
say:
first_time = currenttime();
...
second_time = currenttime();
if (time_diff(second_time,first_time) < 30) {
... }
If so, what are the procedure names for currenttime(), etc.? BTW, I'm
running on Linux.
Thanks.
-Joel - Franta Bass,
--
---------------------------------------------------------------------------
|_|~~ Germany, 1943. ``A little garden, fragrant and full of roses.
__|~| 16 Million DEAD. The path is narrow, and a little boy walks along it.
A little boy, a sweet boy, like that growing blossom,
cnc Bosnia, 1993. When the blossom comes to bloom,
cnc HOW MANY MORE? The little boy will be no more.''
killed at age 14 by the Nazis
---------------------------------------------------------------------------