On Tue, Oct 09, 2001 at 08:07:45PM +0400, Alexey Khlyamkov wrote:
> I decided to agree with Glenn at the first time. But after some
> thinking became to the following. Time and time difference have the
> same meaning in phisical terms. But lftp use term "time" as calendar
> term but not phisical one. Difference between two calendar times is
> exactly phisical time. In contrary to Alexander's observation, time
> difference can be converted to human readable form but by different
> way because it does not have starting point.

It's true that "amount of time" and "time" are difference concepts, but
not only can they both be represented the same way, this is widely
practiced and accepted.

In other words, and most importantly, it's not going to surprise anyone.

The key connection between the two concepts (in Unix) is "time" is
"amount of time from the epoch", and this is widely understood by
programmers (especially Unix programmers).  You'll see code like this
everywhere:

time_t start;
time(&start);
*code*
printf("Time elapsed: ", time(NULL) - now);

It's the same thing.

> I'm sorry if somebody will consider this text as off topic :-)

Not at all; I don't mind defending my code. :)

-- 
Glenn Maynard

Reply via email to