[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 50 seconds is 1 hour?
From: |
Andreas Schwab |
Subject: |
Re: 50 seconds is 1 hour? |
Date: |
Tue, 01 Dec 2009 16:25:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Lennart Borgman <address@hidden> writes:
> I use (current-time) and (time-substract) to get the elapsed time. I
> get something like elapsed=(0 51 532000).
>
> Then I try to use (format-time-string "%H" elapsed) and get "01".
Try (format-time-string "%H" elapsed t). But format-time-string is not
designed to format time differences, only points in time.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- 50 seconds is 1 hour?, Lennart Borgman, 2009/12/01
- Re: 50 seconds is 1 hour?,
Andreas Schwab <=
- Re: 50 seconds is 1 hour?, Lennart Borgman, 2009/12/01
- Re: 50 seconds is 1 hour?, Andreas Schwab, 2009/12/01
- Re: 50 seconds is 1 hour?, Lennart Borgman, 2009/12/01
- Re: 50 seconds is 1 hour?, Davis Herring, 2009/12/01
- Re: 50 seconds is 1 hour?, Glenn Morris, 2009/12/01
- Re: 50 seconds is 1 hour?, Lennart Borgman, 2009/12/01
- Re: 50 seconds is 1 hour?, Davis Herring, 2009/12/01
- Re: 50 seconds is 1 hour?, Lennart Borgman, 2009/12/01