![]() |
|
|||||||
| FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|||
|
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. |
|
|||
|
Ok, think I've got a workaround for it anyway ... my server now resides in Hong Kong (+0800 GMT)
![]() Dave |
|
||||
|
Well, that would work. Another way would be to edit the system crontab (/etc/crontab) or /etc/periodic/ to disable running tzupdate.
__________________
The only dumb question is a question not asked. The only dumb answer is an answer not given. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 02:40 AM |