You should be able to do this using custom licenser fields in your product keys. You can add a custom licenser field of "Date/Time" type. Then when you create a product key, you can enter the date you want this key to expire. In your application you have to use TA_GetFeatureValue() to get the date of from the product key and check if the user can continue using the app or not.
Hope this helps.