Results 1 to 2 of 2

Thread: Apache right time but wrong timezone

  1. #1
    Join Date
    Aug 2009
    Virginia, USA

    Question Apache right time but wrong timezone

    Well, wrong timezone may be the wrong description, but here's the situation. I'm on the East coast, and of course it is still daylight savings time. When I look at the access logs, it shows the correct time, but the offset from GMT shows -0500 and it should be -0400. I've added
    SetEnv TZ America/Indianapolis
    to try and force Apache into eastern time, which it in I guess, but is it not picking up its daylight savings time or is it ignoring my environment change? Because of this happening, it's throwing off my PHP code when I use the date functions, so I really need to figure out what is going on. Any suggestions?

  2. #2
    Join Date
    Oct 2009
    Please show the output of the "date" command. It's *nix, right?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center