-
Make applet taking the server time?
Hi,
I made an applet that is actually a clock. It measures the time in different time zones by adding or substracting from the time it gets from my computer(winXP with Apache 2). The problem is that when someone else uses it, the applet already takes the current time from his computer, so the measurements it makes are not true. Is there a way to always make it take the time from the server machine(my machine) when it's opened from another computer?
-
the easiest way is to supply it with the local time on the webserver via an applet property in the HTML code.
You can then use that time as a base to calculate the difference between the local time on the users computer and the timeon your server....
Similar Threads
-
By mayowa in forum VB Classic
Replies: 0
Last Post: 07-31-2002, 02:19 PM
-
By Max Max in forum Database
Replies: 0
Last Post: 01-16-2002, 10:46 AM
-
Replies: 0
Last Post: 06-15-2001, 05:50 AM
-
Replies: 7
Last Post: 09-15-2000, 08:44 AM
-
Replies: 0
Last Post: 08-14-2000, 10:56 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks