emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 50 seconds is 1 hour?


From: Lennart Borgman
Subject: Re: 50 seconds is 1 hour?
Date: Tue, 1 Dec 2009 18:37:52 +0100

On Tue, Dec 1, 2009 at 6:34 PM, Glenn Morris <address@hidden> wrote:
> "Davis Herring" wrote:
>
>> should it be able to return "5:34" and "1:00:31" for 334 and 3631
>> seconds?)
>
> (format-seconds "%h:%z%.2m:%s" 334)
> (format-seconds "%h:%z%.2m:%s" 3631)
>
> almost does this.


Thanks, I missed that one. Using that + float-time seems to do what I want.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]