I have access only to .NET, and I have this situation. When creating the game (or any object in this regard), I set the expiration date (or any date, which is not very important). The date will be set at some point in the future. Now what I want to do is check to see if this date has occurred. And this should happen completely automatically. No user interaction.
My question is ...? Is it possible? And where to start?
EDIT:
I have a date stored in the database, and I want to periodically check whether this date really happened. I think that requesting a server every second to check the date stored in the database is not the most optimal solution.
source share