Sokk Posted November 27, 2017 Share Posted November 27, 2017 Hey,so I've gotten far enough to figure out that Ad Hoc editor does not have any direct function for weeknumbers (which baffles me as the system has a calendar) but has anyone figured out any non-tiresome way to calculated weeknumber for dates? Link to comment Share on other sites More sharing options...
bojan.brajkovic Posted November 27, 2017 Share Posted November 27, 2017 Hello,You could use something like this, it utilizes the number of days and number of months functions.Create calcualted field with following formula: Round((MonthNumber("Date_field") - 1) * 4.33 + DayNumber("Date_field") / 7)Regards, Link to comment Share on other sites More sharing options...
Sokk Posted November 28, 2017 Author Share Posted November 28, 2017 Hey,tested this formula but the values aren't quite correct. Would need something which brings weeknumbers with weeks going from monday to sunday.Best regards, Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now