Reputation: 3
I tried to create a program with an expired date, but if the date on the computer is changed, the expired date does not work anymore. how to solve it ?
I made it using delphi
Upvotes: 0
Views: 228
Reputation: 312
Need some more information to answer this effectively but it sounds like the issue occurs because the system is using the device's date/time/clock to determine the validity of dates.
The only way around this would be to hook into a webservice for an accurate date value that is then difficult to manipulate by changing the system clock.
There is another stackoverflow thread that addresses using internet time for these sorts of purposes:
I hope this helps!
Upvotes: 4