473,386 Members | 1,801 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Time GMT down

Periodically time server returned from Apache (WinXP SO) to PHP is
not Correct.
So to restore must stop and restart.
In logo, when the time is correct (14:02:12) appear:
127.0.0.1 - - [31/Mar/2008: 12:02:12 +0200]
When is not correct (12:02:12) appear:
127.0.0.1 - - [31/Mar/2008: 12:02:12 +0000]
It is as if the lost based on local time and not maintain the GMT.
Do it is possible to correct this problem?

--
http://interno.netsons.org
Apr 2 '08 #1
3 1408
Hi,

nonce999 wrote:
Periodically time server returned from Apache (WinXP SO) to PHP is
not Correct.
So to restore must stop and restart.
In logo, when the time is correct (14:02:12) appear:
127.0.0.1 - - [31/Mar/2008: 12:02:12 +0200]
When is not correct (12:02:12) appear:
127.0.0.1 - - [31/Mar/2008: 12:02:12 +0000]
This looks like the httpd's log file output. Where does PHP come into
play? If your problem is really about the httpd, you should be better
asking this in a web server NG or the dedicated forum for your
distribution of Apache...

Most probably it's a wrong program environment setup. And what time
offset would be really correct for you? At least the mail you wrote
states »GMT«, which wouldn't match your statement on the timestamp w/
offset +0200 as being »correct«.

-hwh
Apr 2 '08 #2
I believe that the problem may depend on some instruction in some php
script.
But I do not know what to look for.
I tried date_default_timezone_set, putenv, setlocale but have not
found anything suspicious.

--
http://interno.netsons.org
Apr 2 '08 #3
Hi,

On 02 Apr 2008 15:22:17 GMT nonce999 <no******@haii.comwrote:
I believe that the problem may depend on some instruction in some php
script.
But I do not know what to look for.
I tried date_default_timezone_set, putenv, setlocale but have not
found anything suspicious.
I don't run PHP on Windows, so maybe someone else can comment on
specific issues in that environment. I can certainly tell that on Linux
the timezone setting does *not* cascade up to the Apache process
handling the request. But then, I don't know about environment and
locale set up on Windows machines. Maybe someone else can help you...
-hwh
Apr 2 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Penguin | last post by:
At some long ago time Steve Jorgensen answered thus: Subject: Re: How can I round a time? Newsgroups: comp.databases.ms-access Date: 1998/12/11 Access represents a date internally as a double...
2
by: Yoshitha | last post by:
hi I have 2 drop down lists in my application.1st list ontains itmes like java,jsp,swings,vb.net etc.2nd list contains percentage i.e it conatains the items like 50,60,70,80,90,100. i will...
17
by: OlafMeding | last post by:
Below are 2 files that isolate the problem. Note, both programs hang (stop responding) with hyper-threading turned on (a BIOS setting), but work as expected with hyper-threading turned off. ...
33
by: ram.ragu | last post by:
hi i have problem to calculate idle time of cpu and if idle time is more then i have to shut down the system. can anyone tell me the idea to so that please
37
by: David T. Ashley | last post by:
I have Red Hat Enterprise Linux 4. I was just reading up about UTC and leap seconds. Is it true on my system that the Unix time may skip up or down by one second at midnight when there is a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.