You should be able to get the local time for Sweden by adding <?php date_default_timezone_set('Stockholm/Sweden'); echo date('l F jS, o');?> However, I dont know about getting the local time of someone visiting from a different time zone. gary "saeed ahmed" <saeed.sas@xxxxxxxxx> wrote in message news:b10025e1003151310j483caed1mef9ec76874a53f26@xxxxxxxxxxxxxxxxx > 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 > ----- > > > > __________ Information from ESET Smart Security, version of virus > signature database 4946 (20100315) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > __________ Information from ESET Smart Security, version of virus signature database 4946 (20100315) __________ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php