Can anyone help me in finding the logic that defines the number of the first
week of the year. For example, sometimes the 1st week is called week 53
(like in this year) and week number one starts on January 4.
So what is the rule behind the calculation of the week's number.
Thanks for your help.
I'm not aware of any universal definition of a "week number". If you
have a source of examples for prior years you should be able to figure
it out empericly.
If the past data is inconsistant then just make up a rule like "the
week with the first Monday is week one". If someone challenges it
just say "Here's my definition, what's yours?"
--
-- Rod --
ro...@polylogics.com
--
Herman Slagman
COD International
Manager R&D
mailto: H.Sl...@CODGroep.nl
http: www.CODGroep.nl
Marc Stevens wrote in message <7h8li9$j93$1...@trex.antw.online.be>...
>Hi,
>
>Can anyone help me in finding the logic that defines the number of the
first
>week of the year. For example, sometimes the 1st week is called week 53
>(like in this year) and week number one starts on January 4.
>So what is the rule behind the calculation of the week's number.
>
I believe, but not with a very high confidence, that Week 1 of a year is the
one that contains the first Thursday.
Now the next question is on which day of the week a week starts...
Rod Dorman <ro...@panix.com> wrote in message
news:7h9qfb$g35$1...@panix2.panix.com...
> In article <7h8li9$j93$1...@trex.antw.online.be>,
> Marc Stevens <Marc.S...@bosal.be> wrote:
> >Can anyone help me in finding the logic that defines the number of the
first
> >week of the year. For example, sometimes the 1st week is called week 53
> >(like in this year) and week number one starts on January 4.
> >So what is the rule behind the calculation of the week's number.
>
The number of the first week belongs to the year the most of their days are
in.
Bye Carsten
/`\/`\
_|`==`|_
(._`""`_.)
/o \/o \
.---\__/\__/---.
.-'\ \/ /`-.
'-.\ /.-'
)\ /(
\ , , /
_>|\/|<_
jgs -===' '===-
Marc Stevens schrieb in Nachricht <7h8li9$j93$1...@trex.antw.online.be>...
>Hi,
>
>Can anyone help me in finding the logic that defines the number of the
first
>week of the year. For example, sometimes the 1st week is called week 53
>(like in this year) and week number one starts on January 4.
>So what is the rule behind the calculation of the week's number.
>
Download page http://www.barlowwilson.com/datetime.htm
ISO 8601:1988
Data elements and interchange formats -- Information interchange --
Representation of dates and times
This document is not available on the internet, you can order it
(http://www.iso.ch/cate/d15903.html)
ISO-8601:1988 talks about representations of dates and times
see:
http://www.hut.fi/u/jkorpela/iso8601.html
http://www.iso.ch/markete/8601.pdf
Hope that helps,
---
Christian Gobbe
Nescio wrote in message <7hbuc8$rcr$1...@news1.skynet.be>...
Marc Stevens surprised us with <7h8li9$j93$1...@trex.antw.online.be>...
>Hi,
>
>Can anyone help me in finding the logic that defines the number of the
first
>week of the year. For example, sometimes the 1st week is called week 53
>(like in this year) and week number one starts on January 4.
>So what is the rule behind the calculation of the week's number.
>
>Thanks for your help.
>
>Marc.S...@bosal.be
>
Download page http://www.barlowwilson.com/datetime.htm