Well, dates respond to the regular comparison operators. The two operands must both be dates, but with that caveat, you should be able to use >, <, etc.
Just looking at this, without any research, I would put a date into the registry for this file, then retrieve it, and make the comparison upon opening the file. As the first statement of the routine that initializes this "game," I would test the retrieved date. If the date is out of range, exit the sub. The phenomenon will be that nothing at all happened when trying to start the game.
(Bear in mind, clever individuals will find what's happening in the code, and will circumvent it.)
|