emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Convert from date to week number, howto?


From: Nick Dokos
Subject: Re: [O] Convert from date to week number, howto?
Date: Thu, 02 Feb 2012 11:32:30 -0500

François Pinard <address@hidden> wrote:

> 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)?
> 

The agenda shows it in the daily/weekly view, so you can go to the date
of interest and do a day view: vd. Or you can crib the code that
calculates it and incorporate it into your own function
(org-days-to-iso-week does it but it requires a day number since BCE I
think, so you have to do some figuring).

Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]