How to set server TimeZon

  • camperjohn
  • Guru
  • Guru
  • User avatar
  • Posts: 1127
  • Loc: San Diego

Post 3+ Months Ago

Does anyone know a way to set a server or website timezone?

I don't want to use the putenv variable for php, since this needs to be done on every script and I could miss one.

http://us2.php.net/putenv

I want a way I can set the server to be permantly in the Pacific timezone and not have to worry about remembering to set it on every file on every script.

Any ideas?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Uncensored-Hosting
  • Proficient
  • Proficient
  • User avatar
  • Posts: 383
  • Loc: Los Angeles

Post 3+ Months Ago

Just change the servers time, using the 'date' command. If you have a control panel on the box eg: cPanel you can use that to change the server's time too.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 13 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.