Weeknum

C

Christine

When I apply this function for 2005, it seem the weeknum is not correct. For
example, 6/1/2005, the weeknum will return WK2, however, which should be WK1.
Would u have any idea???
 
A

Arvi Laanemets

It's microsofts interpretation of week. For them the first week of 2005 is 5
days long, preceeded by 2-day long last week of 2004 (as you didn't
determine otherwise through optional parameter, the week returned by WEEKNUM
starts with Monday).

When you need an ISO weeknumber, you have to use some formula for it - which
one depends on country you live in (on ISO estabilished there: there are a
couple of them used worldwide, they differ how is determined the first week
of year, and what is starting day for week), or you want tou use.
 
A

Arvi Laanemets

A correction!

(as you didn't determine otherwise through optional parameter, the week
returned by WEEKNUM starts with Sunday).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Weeknum formula 2
weeknum function 1
Inverse to WEEKNUM 12
How to start week numbering (WEEKNUM) on a certain day? 3
Weeknum(today()) gives wrong weeknummer 6
Weeknum function issue 7
Weeknum 9
WeekNum ISO 4

Top