On Tue, 2010-03-16 at 02:10 +0600, saeed ahmed wrote:

> hi friends,
> I'm trying to set local time in my php script. I was trying date and time
> function but its always show the server time not local time. i need help on
> this problem. how can i set the local time. i need sweden time zone
> -----
> Regards
> Saeed Ahmed
> http://saeed05.wordpress.com
> -----

Do you mean local time as in the clients computer time? If so, as far as
I know you can't get that with PHP. What you would have to do is grab it
with JavaScript or something, and then pass that across to your server


Reply via email to