My php script and my computer date are diffrent.
alwas shows one day behined. may be i am in asia and the webserver which has php installed is in the US.

example. My computer shows October 9 now an php prints October 8.

Now how i do tell the php script to show the date and time in my computer ?