Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Week number calculations not working ...

Why doesn the week number calculation (ISO 8601) using datepart ('ww',#date#,crMonday,crFirstFourDays) not work?

As an example do the following formula:

DatePart('ww',CDate(2005,1,1),crMonday,crFirstFourDays)

The result is 9363, quite an impressive week number

This is an issue in versions 2008, XI R2, XI, 10 and possibly previous versions too

Not what you were looking for? View more on this topic or Ask a question