I'm developing a game and planning on an event occurring for a given holiday. Is here a function where you can check the current date and time and see whether or not it passed the date of the holiday?
For example, let's say that I set it up so I gave the date in days month year format of Christmas and it would return a boolean statement if christmas already happened. Thank you.

1 comment
Additional question, how do I do it so I can check if it is in a given window of time? Taking account of duration.