Can Drip Feeding Be Date Range Limited?

Is it possible to limit the content available to a member, based on a maximum number of days membership, as well as the minimum?
The example code given (below) appears to allow content after a minimum number of days ...
How would I set a range of over 30 days, but less than sixty? Would the coding be like this?
This is also useful when selling products and only allowing a limited download time.
The example code given (below) appears to allow content after a minimum number of days ...
- Code: Select all
if(S2MEMBER_CURRENT_USER_REGISTRATION_DAYS >= 30)
How would I set a range of over 30 days, but less than sixty? Would the coding be like this?
- Code: Select all
if(S2MEMBER_CURRENT_USER_REGISTRATION_DAYS >= 30 AND S2MEMBER_CURRENT_USER_REGISTRATION_DAYS 60 <= )
This is also useful when selling products and only allowing a limited download time.