From: Niels Giesen <niels.giesen@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Function for adding days
Date: Fri, 21 Nov 2008 12:01:11 +0100 [thread overview]
Message-ID: <87vduhibrc.fsf@gmail.com> (raw)
In-Reply-To: 0705b437-3fdb-4b96-a020-1289ad303e07@i20g2000prf.googlegroups.com
weber <hugows@gmail.com> writes:
> Hello folks,
>
> can anyone point me to a function that would allow me to calculate
> what date will it be, for example, 10 days from now? calendar is kinda
> big and i'm having trouble to find something like that...
>
> Thanks in advance,
> Hugo
(format-time-string "%Y-%m-%d" (time-add (days-to-time 10) (current-time)))
prev parent reply other threads:[~2008-11-21 11:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-18 13:06 Function for adding days weber
2008-11-18 13:48 ` Giles Chamberlin
2008-11-18 14:26 ` Leo
2008-11-20 6:59 ` aartist
2008-11-21 11:01 ` Niels Giesen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vduhibrc.fsf@gmail.com \
--to=niels.giesen@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).