NYCPHP Meetup

NYPHP.org

[nycphp-talk] Browser's local time?

Stephen Tang webapprentice at onemain.com
Fri May 16 13:38:43 EDT 2003


My experience with that is to use Javascript to display the user machine's local time (the Javascript asks the browser to display what it sees as the local time as dictated by the Operating System...so if the OS has the wrong time, it will show the wrong time.

--Stephen

-------Original Message-------
From: "Christopher R. Merlo" <cmerlo at turing.matcmp.ncc.edu>
Sent: 05/16/03 04:15 PM
To: NYPHP Talk <talk at nyphp.org>
Subject: [nycphp-talk] Browser's local time?

> 
> Folks:
I would like to display the time on my web server, along with the time
on the user's local machine, so that users can see any clock skew.  Is
this possible in straight PHP, or do I have to write JavaScript or
something similar?
-c

-- 
cmerlo at turing.matcmp.ncc.edu        <a target=_blank
href="http://turing.matcmp.ncc.edu/~cmerlo">http://turing.matcmp.ncc.edu/~cmerlo</a>

Flon's Law: There is not now, and never will be, a language in which
it is the least bit difficult to write bad programs.


--- Unsubscribe at <a target=_blank
href="http://nyphp.org/list/">http://nyphp.org/list/</a> ---


> 



More information about the talk mailing list