From mboxrd@z Thu Jan 1 00:00:00 1970 From: pinard@iro.umontreal.ca (=?utf-8?Q?Fran=C3=A7ois?= Pinard) Subject: Convert from date to week number, howto? Date: Thu, 02 Feb 2012 11:16:28 -0500 Message-ID: <87liol1a8z.fsf@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RszKv-0006kB-Jm for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 11:16:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RszKo-0004gj-S0 for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 11:16:37 -0500 Received: from 206-248-137-202.dsl.teksavvy.com ([206.248.137.202]:55494 helo=mercure.epsilon-ti.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RszKo-0004gK-N2 for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 11:16:30 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, Orger friends :-) I sometimes have to convert from a date to a week number, for when I am shift-arrowing a clock table summarizing weeks. It was easy at the beginning of the year, but I see it requires more thought as year advance. I can write little programs to do so, but I wonder if someone has an easy trick in Org mode (or in Emacs)? If none, maybe that C-!, or something related to dates or calendar display, could show the week number for each week? (random ideas! ...) Fran=C3=A7ois