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:13:37 -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 ?

However, looking at this more closely, I think that maybe it's a
question of whether you want ISO weeks or not.  It's a thornier problem
than I first realized.

http://en.wikipedia.org/wiki/ISO_week_date
-- 
Charles Sebold
http://merbc.invigorated.org/
http://triablogue.blogspot.com/




reply via email to

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