To: claude fuhrer <email@example.com>
Subject: Re: Computing week number
Date: Mon, 10 Aug 2020 10:38:17 +0200 [thread overview]
Message-ID: <20200810083817.GA5025@tuxteam.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 800 bytes --]
On Mon, Aug 10, 2020 at 09:12:27AM +0200, claude fuhrer wrote:
> Hi everybody
> It seems that I don't understand how to compute the week number in emacs.
There's no such thing as "the week number in emacs". Or... there are
at least three.
Cribbed from the docs (C-h i format-time-string):
"%U is the week number starting on Sunday, %W starting on Monday,
%V according to ISO 8601."
The thing is there are many meaningful ways to define such a thing
as a "week number", and several of them are in current use. See,
e.g.  for even more fun :-)
Once you know what kind of results you want, the rest tends to be
Of course, some people pick "whatever Excel does". Don't do that ;)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2020-08-10 8:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-10 7:12 Computing week number claude fuhrer
2020-08-10 8:38 ` tomas [this message]
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).