emacs-devel
[Top][All Lists]
Advanced

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

Re: calendar problem: week number


From: Ed Reingold
Subject: Re: calendar problem: week number
Date: Thu, 07 Aug 2008 09:49:22 -0500

> (add-to-list 'calendar-mode-line-format
>              '(let ((day (nth 1 date))
>                     (month (nth 0 date))
>                     (year (nth 2 date)))
>                 (format-time-string "Week of year: %V"
>                                     (encode-time 1 1 1 day month 
> year))))

That should not cause any problems.  Note that you can also use the calendar 
code functions for the week number; see cal-iso.el








reply via email to

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