#jen_stilletoz-subscription-tenure

1 messages · Page 1 of 1 (latest)

eternal shoal
#

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

sick magnet
#

for example here

#

start date is september

#

and enrolled for 3 months sept-oct

#

so months subscribed should be 3

eternal shoal
#

I see a start date of july 22, is that what you mean?

eternal shoal
#

Meant to reply to:

enrolled for 3 months sept-oct

sick magnet
eternal shoal
#

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

sick magnet
#

ok i used the first method already, ill try second one as well

#

thanks

eternal shoal
#

np!