Parameters
Results
Example results
Remarks
This method works as follows: if the expiration date of a license key has not passed, it will add the provided number of days to the expiration date. Otherwise it will add the provided number of days to the current date (i.e. today). A negative number of days will decrease the expiration date. Let’s assume we extend a license with 365 days. This method will ensure that the license will be valid in 365 days from the current day (or more if the license had some additional days left). For example,- If a key that has expired is extended, it will be valid for 365 days from the current date.
- If a key that has not expired is extended, let’s say it has 20 days left, then it will be valid for 365+20 days.