On Thu, 17 Jan 2008 14:40:37 +0000
"mistich" <[EMAIL PROTECTED]> wrote:
> Hope this explains everything the only way to get the true time is to take
> out the local workstation time and get the time from just the server somehow.
Thanks Peter, nice explanation.
Now, maybe I am taking an über-simplistic view of things... but why not:
a) a page can get the time + date from the server with a simple call...it does
currently, right? eg, you get , say, 2008-01-17 13:30:00.
b) JS on the local machine can easily count take that time and increment the
seconds as it goes. Sure, the seconds won't be EXACTLY what it shows on the
server...but if you care this much you could use a java applet to keep a
channel open to the server to show the real time.... or , why not, Ajax (do a
callback every 5 minutes to re-sync the server time with the page if we're too
worried about getting the wrong time).
c) .. that's it....
Ah, yes, for the timezone, simply have the server write out in a variable what
string to show.
It seems a bit over-engineered to me... unless,of course, I am missing
something pretty big (which could be possible! :) )
cheers,
B
_________________________
{Beto|Norberto|Numard} Meijome
"Why do you sit there looking like an envelope without any address on it?"
Mark Twain
I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users