all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.