Is there some way to return all date returned by the date() function to be offset by some specific amount of time ? I tried date-default-timezone-set(), didn\'t seem to work on
You could also write your own version of the date() function which returns the date processed by the callback you require (adding an offset).
If you really want to just call date(), i.e. for sake of consistency, you could write your app in your own namespace and simply name your custom function date(). In that case, PHP's original date() function has to be called as \date().