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

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

Re: Week number


From: Charles Sebold
Subject: Re: Week number
Date: Tue, 14 Oct 2008 16:09:42 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (windows-nt)

On 14 Oct 2008, Xavier Maillard wrote:

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

No, I can't.  Unless you could try it with the date for 1 January and
see if you get week "0" or week "1" with each; maybe that's the
problem.

What I see here suggests that 42 is correct:

http://en.wikipedia.org/wiki/ISO_8601
-- 
Charles Sebold                                     14th of October, 2008


reply via email to

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