PlanetSquires Forums

Support Forums => José Roca Software => Topic started by: James Fuller on August 06, 2016, 12:42:32 PM

Title: AfxTime.inc
Post by: James Fuller on August 06, 2016, 12:42:32 PM
Jose,
AfxWeekNumber(1,1,2016) returns 53
My misunderstanding of the function or ...?

James
Title: Re: AfxTime.inc
Post by: Richard Kelly on August 06, 2016, 01:20:31 PM
Looking at the last week of a year, the week belongs to the year that Thursday falls in. Dec 31, 2015 was a Thursday and hence the week beginning Dec 28, 2015 and ending Jan 3, 2016 belongs to 2015 and is the 53rd week.
Title: Re: AfxTime.inc
Post by: James Fuller on August 06, 2016, 01:28:49 PM
Thanks Richard. Got it.

James