Jump to content

Recommended Posts

  • 1 month later...

hmmm some of my times in a table were 1 hr early on 'manual entered' times. so users picks 5pm in an app, and it shows up as 4pm.

 

i assumed the Dateinserted field would be definately off by 1hr since it used system time. But i didnt know why the manual entered time by the user was 1 hr off.

 

Newly inserted entries seem to be okay now (i think).

I tried above posted articles to make sure its fixed but i am not sure now the time is okay on server...

 

Running:

SELECT @@global.time_zone, @@session.time_zone,

UNIX_TIMESTAMP('2007-03-11 02:00:00'), UNIX_TIMESTAMP('2007-03-11 03:00:00');

 

Results in:

'SYSTEM', 'SYSTEM', 1173596400, 1173600000

the last 2 times the articles say should be the same. it is using SYSTEM time on win2000 IIS server with php/MYSQL4.12.

the daylight savings patch was applied, and time corrected, yet those 2 UNIX_TIMESTAMPS are off.

Anyone know how I can make them the same?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.