How to make software as trial period ?

I have an application this is already license but in this application use my functionality put custom .afl file this file make in c++ make this .afl file as trial period.So how to make this .afl file as 7 day trial plz help me...
Last edited on
Have your program check if the current date is later than the date the trial period expires.
But give me some code for this i am new in this so plz help..thnk u so much
Topic archived. No new replies allowed.