I have to do a solution for a event which fires at every 500 millisecond. I need a solution which i can use to check if the function has run once for a purticular day. If i use a static variable it becomes out of scope and as such gets reinitialised every time the event executes. What can i use to solve this.
Thanks in advanced.