Wol:

As Kevin alluded to earlier, the program, and the consequences you point
out, are exactly what the client wanted.  So much for standards.  :-)

Bill

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Friday, October 28, 2005 5:57 AM
> To: [email protected]
> Subject: RE: [U2] Week of the year (UV)
> 
> [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
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to