help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Week number


From: Xavier Maillard
Subject: Re: Week number
Date: Tue, 14 Oct 2008 22:25:05 +0200
User-agent: Rmail in GNU Emacs 23.0.60.12 on GNU/Linux

Hi,

   On 14 Oct 2008, Charles Sebold wrote:

   > Here's how org-mode does it:

   Sorry, this is really what you were asking for, then:

   (defun crs-iso-week (&optional date)

Thank you very much.

I have a question though.

I compared the results of your function and the result from a
simple (format-time-string "%W") for the current date and I got
week 42 for the former and week 41 for the latter. Can you
explain this ?

Regards

        Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org




reply via email to

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