[EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] wrote: > > ** A week is defined as a seven-day period running from Monday-Sunday. > > ** Week 1 of any year is defined as the first week containing four days > > ** of the year, or equivalently the week containing the first Wednesday > > ** of the year. For example, if January 1 falls on a Friday, then the > > ** first two days of January fall in week 53 of the preceding year. > > ** > BIG BIG WHOOPS !!!! > > It's Thursday, not Wednesday. Let's take the case of "Wed, 31 Dec". Your > wednesday rule makes it week 53. But Thu,Fri,Sat,Sun are all in the following > year, ie 4 days, ie a majority, which makes it ISO week 1. > There's now a function available in the Basic Code area of PickWiki that will do this for you.
Cheers, Wol ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/