* Function for adding days
@ 2008-11-18 13:06 weber
2008-11-18 13:48 ` Giles Chamberlin
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: weber @ 2008-11-18 13:06 UTC (permalink / raw
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Function for adding days
2008-11-18 13:06 Function for adding days weber
@ 2008-11-18 13:48 ` Giles Chamberlin
2008-11-18 14:26 ` Leo
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Giles Chamberlin @ 2008-11-18 13:48 UTC (permalink / raw
To: help-gnu-emacs
weber <hugows@gmail.com> writes:
> 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...
Have a look at calendar-absolute-from-gregorian and
calendar-gregorian-from-absolute.
--
Giles
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Function for adding days
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
3 siblings, 0 replies; 5+ messages in thread
From: Leo @ 2008-11-18 14:26 UTC (permalink / raw
To: help-gnu-emacs
On 2008-11-18 13:06 +0000, weber wrote:
> 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
See time-date.el. There are few functions for your purpose.
--
.: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :.
Use the better alternative -- http://www.openoffice.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Function for adding days
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
3 siblings, 0 replies; 5+ messages in thread
From: aartist @ 2008-11-20 6:59 UTC (permalink / raw
To: help-gnu-emacs
On Nov 18, 8:06 am, weber <hug...@gmail.com> wrote:
> 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
Are you looking for function or the functionality?
Try org-mode.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Function for adding days
2008-11-18 13:06 Function for adding days weber
` (2 preceding siblings ...)
2008-11-20 6:59 ` aartist
@ 2008-11-21 11:01 ` Niels Giesen
3 siblings, 0 replies; 5+ messages in thread
From: Niels Giesen @ 2008-11-21 11:01 UTC (permalink / raw
To: help-gnu-emacs
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)))
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-11-21 11:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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.