I'm working on a NewsFlash MOD that will display alerts at the top of the page. I'm using two fields in my table called N_POSTED and N_EXPIRES. The N_POSTED is the date stored as a string using the DateToStr function while the N_EXPIRES is an interger value for the number of days for the alert to be displayed. What kinda check can I perform to see whether the posted date plus the expires is still greater than the current date beacuse at the moment I can't get the pages using this MOD to load at all and when they do I get a Script Timeout. Currently the check looks like this: