Hello there, I’m writing a plugin querying Reporting APIs. It write metrics on the shell console by command line.
While is easy querying for the year [int], the month [1-12], the day [1-cal_days_in_month], for me is difficult execute a query looking for the weeks in a month.
My question is: should I run period=week queries looping the days in a month adding a condition on the weekday? For example weekday=1 (monday).