Hi, I'm using date('Y-m-d h:i:s a') but the time outputted by the function is wrong. what could be the cause of this? does it have to do with the time zone or daylight saving time? by the way, i'm using vista and my time zone is gmt +8:00
hope you can help!
hi Joshua J, thanks for your answer. i'm sorry i wasn't able to mention that i'm running the server on the same machine so i'm accessing it through localhost.
i tried changing the time zone of my computer and the time generated by date() changes also.
hope you can help!

hi Joshua J, thanks for your answer. i'm sorry i wasn't able to mention that i'm running the server on the same machine so i'm accessing it through localhost.
i tried changing the time zone of my computer and the time generated by date() changes also.