JavaScript: Time Local Accuracy Alt.

I previously asked a question regarding obtaining the "accurate" time for a specific locality to insure against local user error and idiosyncracy as well as known browser and JavaScript bugs.

I was convinced that there was no answer to my question and I accepted a very good, and adjustable, "Java" applet answer.  I am now convinced that, up to a certain point, it "is" possible to obtain the accurate local time on "most" (if not all) user's systems and browsers.  Since so much work was put into that previous question I would like to still award 200 points for a "specifically" JavaScript answer with fully commented code, with separate frame and form versions, with the "option" of using an additional CGI script should I be able to load that onto my server (sysadmin permission has been requested).

Thanks in advance!
HotApp1ePiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Holger101497Commented:
well, since I know that this one's for me (after all, 95% of the solution is posted in the other thread (quite an impressive thread - 64 KB by now!) and on the web), I take the liberty to lock this one although I can't post the (fully commented) answer before tomorrow.

I also discovered yet another inconsistency, this time affecting IE/NN. The date.getTimezoneOffset() functions in the two browsers have opposite signs! Much to my regret, I have to admit that IE has the more "accurate" implementation in this case.
Netscape returns 300 minutes for GMT-5 while IE returns -300!! I'll also get that fixed before I post my solution...

Since this one is just for "double grading" / splitting points, I recommend not looking at this answer in the PAQ's - the question
JavaScript:Time Local Accuracy http://www.experts-exchange.com/topics/bin/ShowQ?qid=8630023068 contains the more complete discussion of the topic. If HotApplePi waits a little longer before he accepts the Applet-solution for that one, I will also post my solution there (I won't "pay" to get access to it, though!)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HotApp1ePiAuthor Commented:
Okay Holger, I will hold off accepting either answer until you have posted to both questions.
0
HotApp1ePiAuthor Commented:
Hello?  Anyone home?
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Holger101497Commented:
yes, kind of :-) sorry for being a little slow, but for one thing, I don't have quite as much time during the week as I have on weekends and I also got a flu, a headache and spent at least half of the last 24 hours sleeping...

I'm working on it right now and I might try to post an answer before going to bed now (it's after midnight already), but definitely within the next 16 hours....

C U soon...
0
Holger101497Commented:
puhh.... there we go! The complete page to look at is now posted at http://home1.gte.net/stratmhx/experts/time/frames/index.html.
It is tested in IE3 and NN3&4 and hopefully works fine. I made some adjustments that significantly compacted the code. The longer and commented versions are still on the page, but since both clocks are on the page with frames, I have not updated the simple clock on the other page...

Let me know if you like it or if you need (even) more comments, so I can post it here... btw: I saw that you accepted the other answer which made me realize that holding it back was kind of stupid anyway: You can simply copy the code I will post here and add it to the other thread - I won't pay 25 points to get there ;-)

Glad to see that you found a way of getting additional points without a credit card *ggg* - I just wanted to give you additional time to accumulate more points for this question ;-)

Enjoy the clock! There is a "hacker-version" that does everything in 2 lines!
0
HotApp1ePiAuthor Commented:
Please post the commented code to this discussion "without" using my page as an example.  I am not paying to go searching for the code.  :o)  I need to see a "simple" demonstration with minimal frames and without italics and without spaces on either side of the colon (it looks like there is a full space on both sides of the colon).  The "hacker" version may be helpful as well.

I have added 15 more points for your additional effort.  :o)

Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.