SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: TIME - Clock!

  1. #1
    SitePoint Member
    Join Date
    May 2000
    0 Post(s)
    0 Thread(s)
    I've already constructed a java applets for the clock time in New York, Vancouver, and London. I just pass different values for different cities. The clock is in real-time, meaning the seconds are ticking. But the time and time zone depends on the users system where the applet runs on. So if the user is got the wrong time or even time zone set on their computer then the time wouldn't work properly for any city! I wanted to have the time from the server passed to the user, so this can be the constant to use the time zone method! Is this possible.. ?? Plz help thanx!

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Lancaster, Ca. USA
    1 Post(s)
    0 Thread(s)
    You would have to code your java applet to get the time from a publicly accessible time server. I personally think its a lot of bother for little or no reward. Clocks on web pages are a frill and really serve no purpose. If it is to track various stock markets and the user doesn't have the correct time on their computer then they will lose out on a transaction. Their problem not yours.

    Wayne Luke - Sitepoint Moderator/Internet Media Developer
    Digital Magician Studios - Making Magic with Web Applications


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts