Track the days in a cycle

I am building an app and need to track the number of days worked in a 28 or 30-day cycle.

Is there a way to do this on Adalo? My thought was to take the current time and subtract the date for the first of the month, but I would need to continuously track the 1st of each month and I’m not sure how to do that.

Any help would be really appreciated.