We do our licensing by contract dates rather than by duration. We are hoping to be able to create licenses that start on a particular date and expire on a particular date. We don’t want to have to give our customers a new key every year so we’d like to renew licenses by PATCHing the expiry date.
I currently see these problems:
- We can’t specify an expiry date, we must calculate a number of seconds of validity that will hopefully end on the correct date.
- The validity period cannot be changed once the license is created.
- License renewal can only extend an existing license by the original validity period. This makes the new expiry date difficult to control.
I wonder if anybody else wants to use dates, or has already figured out a tidy workaround.