PDA

View Full Version : Changing script time-zone??


purpleneutron
01-19-2005, 06:33 PM
Hi all,

Does anyone know how I can make the script use my current timezone? (GMT+8)?? The 'post' time is always what I presume to be the server time, which is not in the same timezone as me. I like to post the exact time of the picture, which from my current location is sometimes AHEAD of the current server/script time and so my picture doesn't show...

Any ideas?? Thanks!

blinking8s
01-19-2005, 11:45 PM
time zone selection should be an option from the admin panel in the future...

i believe you need to add a Z vaiable to the $datetime = date("Y-m-d H:i:s"); and tell it the offset in seconds.