NogDog;10883439 wrote:If using PHP5.1.0 or later (and if you aren't, why not?), use the [man]date_default_timezone_set/man function to set the desired timezone.
Ah, I keep forgetting about that myself. When I started building my site, I neglected to have:
ini_set('error_reporting', E_ALL);
But once I added this, I got these date / time errors.. I followed along in a thread here discussing the need to set timezones.. once I did, error was fixed. At first, I was rather perplexed, because my live version of the site has never revealed any problems to begin with (which if I understand correctly is due to security issues [preventing blatant errors from malicious prying eyes]). In any case, this point brings me to ask with regards to bookbuyer2000's issue.. if E_ALL is enabled, would the situation (at least on localhost) display some warnings / errors?
bookbuyer2000, I would be interesting in knowing if Nog's suggestion cleared it up. It seems that timezones and date functionality is somewhat intertwined. :o