PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: AfxTime.inc  (Read 1127 times)

James Fuller

  • FireFly3 Registered User
  • Senior FireFly Member
  • *
  • Posts: 276
  • FF3 User
AfxTime.inc
« on: August 06, 2016, 12:12:32 PM »

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

James
Logged

Richard Kelly

  • FireFly3 Registered User
  • Senior FireFly Member
  • *
  • Posts: 322
Re: AfxTime.inc
« Reply #1 on: August 06, 2016, 12:50: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.
Logged

James Fuller

  • FireFly3 Registered User
  • Senior FireFly Member
  • *
  • Posts: 276
  • FF3 User
Re: AfxTime.inc
« Reply #2 on: August 06, 2016, 12:58:49 PM »

Thanks Richard. Got it.

James
Logged