Skip to content
Prev 164469 / 398503 Next

getting ISO week

According to the definition in ?strptime (which is not the same as the
ISO definition):

format(x, "%W") returns

"Week of the year as decimal number (00?53) using Monday as the first
day of week (and typically with the first Monday of the year as day 1
of week 1). The UK convention."

The first day of 2008 is a Tuesday which means that 2008 starts in week 0.
On Thu, Dec 11, 2008 at 2:31 PM, Hans W. Borchers <hwborchers at gmail.com> wrote: