I want to write a simple C function, embedded in my main code, where the software
will stop on a certain date because I’m giving it to someone to test out for a month.
So let’s say the software will expire on April 24, 2009. I can easily read the date
using the date command from the OS, and stops the software on April 29, or any later date.
But if that user changes the date of his system to Jan 1, then, he can actually use
my test software as long as he wants.
Any suggestion as how you would resolve this issue?