Main Menu

AfxTime.inc

Started by James Fuller, August 06, 2016, 12:42:32 PM

Previous topic - Next topic

James Fuller

Jose,
AfxWeekNumber(1,1,2016) returns 53
My misunderstanding of the function or ...?

James

Richard Kelly

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.

James Fuller

Thanks Richard. Got it.

James