For many shareware developers, when an application is first run, you want to check the date and then set a timeout based on that first date. But what if the user sets their clock ahead a year before the first run? If you have a 7 day trial period and you are hard coded to that first run date, if the user resets their clock when subsequently running your application, their trial period is effectively 1 year + 7 days. To avoid this, you can use the following code to determine if their clock...
Source >>