The time is drawing near...
I'm sure I'm not the only one that's installed PSG on a server that's in a different time zone than where I live. Ever since I first installed PSG, I"ve always wanted my time to be EST, and not GMT. After a lot of searching the web and trying out different things, I found a solution with some help from the kind folks at scriptygoddess.com. At the top of the file that calls the PSG main function (the default is index.php), simply put this:
putenv("TZ=thiszone");
...where "thiszone" is the timezone you're in. Mine, for example, is "US/Eastern". If you have shell access to your web account, you can find a list of available timezones in either /usr/share/zoneinfo/ or /usr/lib/zoneinfo/. If not, http://www.bsdi.com/xdate may be of some use to you. Good luck!
putenv("TZ=thiszone");
...where "thiszone" is the timezone you're in. Mine, for example, is "US/Eastern". If you have shell access to your web account, you can find a list of available timezones in either /usr/share/zoneinfo/ or /usr/lib/zoneinfo/. If not, http://www.bsdi.com/xdate may be of some use to you. Good luck!
| << Previous: Project News, Part 2.009613 | Next: PSG 1.8.0 Release Candidate 1 >> |