unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Days between dates
@ 2008-10-10 17:52 Chry Cheng
  2008-10-10 19:42 ` Pascal J. Bourguignon
  0 siblings, 1 reply; 3+ messages in thread
From: Chry Cheng @ 2008-10-10 17:52 UTC (permalink / raw)
  To: help-gnu-emacs

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-11  9:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-10 17:52 Days between dates Chry Cheng
2008-10-10 19:42 ` Pascal J. Bourguignon
2008-10-11  9:04   ` Chry Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).