Anyone know how to add an expiration date to trialware?

I want to create a trialware program with a 90 day limit.

Thanks