How to find week number in a month instead of in a year
Hi I am trying to count the number of the week in a month, but Mendix provided to find a week in a year. Any help? Thanks in advance!
You have to write some custom logic
AnyDate = CurrentDateandTime
BeginOfCurrentMonth = beginOfMonth($CurrentDateandTime)
NoOfWeeks = round(weeksBetween($BeginOfCurrentMonth,$CurrentDateandTime))
Hope it helps!