help-gnu-emacs
[Top][All Lists]
Advanced

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

Days between dates


From: Chry Cheng
Subject: Days between dates
Date: Fri, 10 Oct 2008 10:52:00 -0700 (PDT)
User-agent: G2/1.0

How does one calculate the no. of days between two dates in Elisp?  So
far, I have the following:

(decode-time (time-subtract (date-to-time "...") (date-to-time
"...")))

But decode-time returns dates.  I was wondering if there already is a
function somewhere unknown to me that would do this.



reply via email to

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