...

View Full Version : Getting an ASP Value from a website...



isaaclloyd
09-12-2005, 01:14 AM
What I am trying to acomplish is getting a value from a website that I can use on any other website. The value is TIME. I have a ASP script that outputs the LOCAL TIME for my city and I am wondering if there is a way to like reguest the value using javascript or something. I've seen it done mainly with Stat Counter websites. You just add a javascript script and it sends the counted hit to the website and gives you an acurate count back. Any ideas or suggestions would greatly be appreciated. Thanks.


~Isaac~

Spudhead
09-12-2005, 01:09 PM
Can't you just get the local time on the server and work out the difference? Then you can just use the server time each time, and add/subtract x hours from it.

rrhodes
09-13-2005, 05:09 AM
You could serve up the time from an ASP page using XML, then request the XML from any client page that can do web requests. You might also search for XML time feeds from time related agencies?

Bullschmidt
09-14-2005, 04:39 AM
And hopefully this might give you some ideas:

Classic ASP Design Tips - Time Zones
http://www.bullschmidt.com/devtip-timezones.asp



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum