Re: [Axapta-Knowledge-Village] WkOfYr function bug ?

2010-07-29 Thread Steen Rabol
I think it depends on the LOCALE e.g week 31 is not the same dates in Germany and Denmark or Luxembourg. As far as I know it depends on when a locale defines the start of a week. Kind regards 2010/7/29 Agus Riyadi > > > Thanks Steen for your reply. > > That site explains that 6th of Jan may

Re: [Axapta-Knowledge-Village] WkOfYr function bug ?

2010-07-29 Thread Agus Riyadi
Thanks Steen for your reply. That site explains that 6th of Jan may be in different week depends on the year (which may fall between 1 or 2). It does make sense. But that does not explain why 1 Jan 2010 get week of year = 53. Best regards, Agus On Thu, Jul 29, 2010 at 3:25 PM, Steen Rabol wro

Re: [Axapta-Knowledge-Village] WkOfYr function bug ?

2010-07-29 Thread Steen Rabol
http://msdn.microsoft.com/en-us/library/aa890352.aspx 2010/7/29 Agus Riyadi > > > Dear All, > > Using Ax built-in function WkOfYr I get the following result : > > 1 Jan 2005 => 53 1 Jan 2006 => 52 1 Jan 2007 => 1 1 Jan 2008 => 1 1 > Jan 2009 => 1 1 Jan 2010 => 53 1 Jan 2011 => 52 1 Jan 2012 =

[Axapta-Knowledge-Village] WkOfYr function bug ?

2010-07-29 Thread Agus Riyadi
Dear All, Using Ax built-in function WkOfYr I get the following result : 1 Jan 2005 => 53 1 Jan 2006 => 52 1 Jan 2007 => 1 1 Jan 2008 => 1 1 Jan 2009 => 1 1 Jan 2010 => 53 1 Jan 2011 => 52 1 Jan 2012 => 52 1 Jan 2013 => 1 1 Jan 2014 => 1 1 Jan 2015 => 1 1 Jan 2016 => 53 1 Jan 2017 => 52 1 Jan 201