FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » browser time
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: browser time [message #173263 is a reply to message #173261] Thu, 31 March 2011 20:16 Go to previous messageGo to previous message
Michael Fesser is currently offline  Michael Fesser
Messages: 215
Registered: September 2010
Karma:
Senior Member
.oO(suresh)

> How to get browser time (clients time)? I used localtime() and it gives
> the server time only and not the client time.

You would have to use JavaScript and have it send the client's time to
your server in another HTTP request.

May I ask why you need the client's time/timezone?

Micha
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: mssql_select_db problem
Next Topic: relative v. absolute paths
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 20:53:54 GMT 2024

Total time taken to generate the page: 0.03583 seconds