Thanks for this, Bob. I did some more poking around myself and this seems to work. Not too difficult remove the HTML.
on mouseUp put url ("http://tycho.usno.navy.mil/cgi-bin/timer.pl") end mouseUp On Mon, Aug 15, 2011, at 3:45 PM, use-livecode-requ...@lists.runrev.com wrote: > Message: 3 > Date: Mon, 15 Aug 2011 10:25:06 -0700 > From: Bob Sneidar <b...@twft.com> > To: How to use LiveCode <use-livecode@lists.runrev.com> > Subject: Re: Grabbing the Date and Time From a Time Server on the > Internet > Message-ID: <5ec0da15-9be3-41d9-b047-250e2733c...@twft.com> > Content-Type: text/plain; charset=iso-8859-1 > > This returns a ton of html, from which the date time can be filtered using > "<H2>*", but since it takes about 30 seconds to run, and returns 32 entries, > I am not sure how useful this would for him, if he wanted an exact time > (within a second or two). > > Time servers are NTP:\\ aren't they? Looks like the revURL library does not > support NTP, or not that I can see. Any attempt to use it in a URL returns > empty in it and invalid URL: in the result. > > A quick browse for http based time servers came up dry. > > Bob _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode