#jen_stilletoz-subscription-tenure
1 messages · Page 1 of 1 (latest)
hey there, can you explain a bit more what you mean / what you're trying to do?
you may want to look at the start date of the subscription and calculate from that
for example here
start date is september
and enrolled for 3 months sept-oct
so months subscribed should be 3
I see a start date of july 22, is that what you mean?
I don't think i understand what you're trying to calculate here
Meant to reply to:
enrolled for 3 months sept-oct
oh yeah sorry start date is july, so july to curretnly paid subscribed months
depends on how you want to calculate this, but the rough version would be using the subscription start date in a calculation of (today - start) / (seconds per day * 30)
or if you want to count from the end of the current period, use the current period end instead of "today" eg
really depends on the details of what you want
np!