How to determine the week number is the current month ?
I'd like to know for example if this week is the first, second, third... of the current month?
Thanks for your help :o)
Printable View
How to determine the week number is the current month ?
I'd like to know for example if this week is the first, second, third... of the current month?
Thanks for your help :o)
Code:Weekofmonth = int((day(YourDate)-weekday(now)-1)/7)+1
Code:Day(Date) \ 7 + 1
Whoaaa!
*feeling stupid*
Wait a minute, that works this month but not next, the second week will start at thursday
you're right. I didn't pay attention to that "little" detail
Thanks a lot