From: pinard@iro.umontreal.ca (François Pinard)
To: emacs-orgmode@gnu.org
Subject: Re: Convert from date to week number, howto?
Date: Sun, 12 Feb 2012 00:17:53 -0500 [thread overview]
Message-ID: <87fweg3a0u.fsf@iro.umontreal.ca> (raw)
In-Reply-To: <11073.1328200350@alphaville> (Nick Dokos's message of "Thu, 02 Feb 2012 11:32:30 -0500")
> François Pinard <pinard@iro.umontreal.ca> wrote:
>> I sometimes have to convert from a date to a week number
Nick Dokos <nicholas.dokos@hp.com> writes:
> org-days-to-iso-week
Jambunathan K <kjambunathan@gmail.com> writes:
> (org-odt-format-date "<2011-12-31 Sat>" "%U")
> (org-odt-format-date "[2011-12-24 Sat]" "%U")
Georges Ko <gko@gko.net> writes:
> (require 'calendar)
> (require 'cal-iso)
> (car
> (calendar-iso-from-absolute
> (calendar-absolute-from-gregorian
> (list month day year))))
Thanks for these solutions!
François
next prev parent reply other threads:[~2012-02-12 5:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-02 16:16 Convert from date to week number, howto? François Pinard
2012-02-02 16:32 ` Nick Dokos
2012-02-12 5:17 ` François Pinard [this message]
2012-02-02 17:02 ` Jambunathan K
2012-02-03 15:58 ` Georges Ko
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fweg3a0u.fsf@iro.umontreal.ca \
--to=pinard@iro.umontreal.ca \
--cc=emacs-orgmode@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.
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.