[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.
- Days between dates,
Chry Cheng <=