DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 24th October 2008
biscuits biscuits is offline
Port Guard
 
Join Date: Oct 2008
Posts: 10
Thanked 0 Times in 0 Posts
Default Turn off daylight savings adjust??

Tearing my hair out on this problem at the moment: Perth (GMT +0800) comes into daylight savings this weekend (GMT +0900) and the automatic 1 hr shift is causing absolutely havoc with my PHP pages in the office.

I'm not sure if its FreeBSD 7.0 or PHP 4 doing it (suspect FreeBSD tho) but I really need to somehow turn off the automatic DST adjust and keep everything going along at GMT +0800 for the sake of my PHP scripts.

Basically the problem stems from if you get php to give the date today:

echo date(r); and you get: Wed, 24 Oct 2008 10:26:07 +0800

now if i set the date in FreeBSD to the 29th Oct say, i get: Wed, 29 Oct 2008 10:26:07 +0900

So one way or the other, i really need to fix the +0800 setting somehow??

Any idea how I might be able to accomplish this?

Thanks in advance,
Dave.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to turn drives off after a period of time? drhowarddrfine FreeBSD General 9 3rd May 2009 12:05 PM
Can't turn off laptop speaker GullibleJones OpenBSD General 5 22nd November 2008 03:40 AM


All times are GMT. The time now is 02:53 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick