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, [email protected] wrote:
> Message: 3
> Date: Mon, 15 Aug 2011 10:25:06 -0700
> From: Bob Sneidar <[email protected]>
> To: How to use LiveCode <[email protected]>
> Subject: Re: Grabbing the Date and Time From a Time Server on the
> Internet
> Message-ID: <[email protected]>
> 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
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode