Quote:
Originally posted by Xenon
i see to correct it just add the line
$datzeit=$datzeit+4*3600;
right after
$datzeit=mktime(substr($datzeit,11,2), substr($datzeit,14,2), 0, substr($datzeit,3,2), substr($datzeit,0,2), substr($datzeit,6,4));
and change the 4 to your timeoffset.
|
Just a small correction... I tried myself

If my server is in a timezone 'on the left' of mine (as said, I'm on +1, the server is on -5), I should
SUBTRACT 6 and not add it...
$datzeit is the time string displayed on my page, adjusted to my time... If the server time is six hours 'after' mine, I should resave the edited post with the server time...
my case: ---> $datzeit = $datzeit -
6 * 3600;
Thanks again for your help.
Bye