[Top][All Lists]

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

Computing week number

From: claude fuhrer
Subject: Computing week number
Date: Mon, 10 Aug 2020 09:12:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

Hi everybody

It seems that I don't understand how to compute the week number in emacs.

I use emacs 26.3 and org mode version 9.3.7 (release_9.3.7-705-gea9463

1) When I display the agenda (command "org-agenda" + "a"), today 10th of august I have a header like:

"Monday     10 August 2020 W33      (I suppose that W33 means week 33)"

2) In my lisp configuration file I have a command like :

(insert (format-time-string " %d %B %Y (CW %W)\n" (current-time))).

This line display something like

"10 August 2020 (CW 32)"

Do you have an idea what I done wrong ? Thank you in advance for your help!

reply via email to

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