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 #173262 is a reply to message #173261] Thu, 31 March 2011 20:09 Go to previous messageGo to previous message
Luuk is currently offline  Luuk
Messages: 329
Registered: September 2010
Karma:
Senior Member
On 31-03-2011 21:57, suresh wrote:
> Hi
> How to get browser time (clients time)? I used localtime() and it gives the server time only and not the client time.
> thanks
> suresh

PHP is evaluated on the server.

If you want to get the browser time than you should send it to your
server via GET, POST, any other way you are able to send data from your
client to the server.....

--
Luuk
[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: Sun Nov 10 15:52:27 GMT 2024

Total time taken to generate the page: 0.04735 seconds