I wrote a great program and would like anyone who is interested download the program and use it for say 30 days, after which time, if they have a password, they can then use the software, and if they don't the program doesn't work. How can I implement this? Almost every program I download has this feature, so the code must be somewhere.

Any response anyone can give me will be greatly appreciated.