On Thu, 2004-10-21 at 08:48 -0600, Ben Miller wrote: > Probably a stupid question, but hopefully has a simple answer. Is there a > way to get Grenwich Mean time? time() and date() functions that I can see > only seem to get date/time from the server, which knowing where that is, > could easily figure out GM time, but.... would rather go the other way. > > Thanks. > > Ben > You can set an environment variable for your project like so: putenv("TZ=US/Pacific"); just find the proper GMT time zone format.. -Robby -- /*************************************** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | robby@xxxxxxxxxxxxxxx * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development ****************************************/
Attachment:
signature.asc
Description: This is a digitally signed message part