I assume that at some level inside your script, you use the time function to get the current time? (If you do not, you most likely should be.)
If so, just replace the time-based call with the mktime call, set the appropriate date / time in the future.
Worst case scenario (if you are not using a PHP script), you can simply change the current system date / time using the "date" command ("man date" for details) if you are using Unix / Linux or the corresponding control panel / system settings and etc. if you are running on Windows / Mac OS X etc. However, I would not recommend doing this if you are not using a closed test server.
In addition, as I said in my comment, changing the system clock is a bad decision - you really need to abstract the current time in any script that you use.
source share