Hi

Use wkofyr(<date>)

Regards
Bruno

  _____ 

From: wb [mailto:[EMAIL PROTECTED]
Sent: 4. februar 2005 12:17
To: [email protected]; [EMAIL PROTECTED]
Subject: Re: [development-axapta] wkofyear



Hello Alfonso,

Hope this help you:
"Under the ISO standard, a week always begins on a Monday, and ends on
a Sunday. The first week of a year is that week which contains the
first Thursday of the year, or, equivalently, contains Jan-4.
While this provides some standardization, it can lead to unexpected
results -- namely that the first few days of a year may not be in week
1 at all. Instead, they will be in week 52 of the preceding year! For
example, the year 2000 began on Saturday. Under the ISO standard,
weeks always begin on a Monday. In 2000, the first Thursday was Jan-6,
so week 1 begins the preceding Monday, or Jan-3. Therefore, the first
two days of 2000, Jan-1 and Jan-2, fall into week 52 of 1999.
An ISO week number may be between 1 and 53. Under the ISO standard,
week 1 will always have at least 4 days. If 1-Jan falls on a Friday,
Saturday, or Sunday, the first few days of the year are defined as
being in the last (52nd or 53rd) week of the previous year.
Unlike absolute week numbers, not every year will have a week 53. For
example, the year 2000 does not have a week 53. Week 52 begins on
Monday, 25-Dec, and ends on Sunday, 31-Dec. But the year 2004 does
have a week 53, from Monday, 27-Dec , through Friday, 31-Dec. "

Best Regards,
Valeriy


On Fri, 4 Feb 2005 09:51:36 +0100, Alfonso Collados Arroyo
<[EMAIL PROTECTED]> wrote:
>
>
> Hi all:
>
> I 'm using the wkofyear function and I see that this function returns always
> one week less . Why?
>
> Thanks
>
> Alfonso
>
>
> [Non-text portions of this message have been removed]
>
> Yahoo! Groups Links
>
>
>
>
>


--
Ð ÑÐÐÐÐÐÐÐÐ,
ÐÐÐÐÑÐÐ ÐÐÐÐÐÑÐÐÐÐ





  _____ 

Yahoo! Groups Links


*      To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
 

*      To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
 

*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]






Yahoo! Groups Links

Reply via email to