Hi.
Procedure 1:
In this procedure, you can use two dates to get the difference between two dates. If the difference is less than one means the difference is 0 or negative then the procedure will return Expired otherwise return will be Not Expired.
Procedure 2:
This procedure can help to understand the basic concept of a subscription system. In this procedure, you can use your subscription purchase date and subscription duration time like 30 days or 90 days. It will return the subscription status Expired or Not.
I used this 2nd one for most of the time.
NOTE: Adding those systems to your app can be risky, as users might change their phone time to bypass them. For added safety, you can check if the phone’s time matches its online time before running the procedure
Thank you