Thanks Stephen,

I too came across this one today.  Looks pretty easy to parse.

Gregory


On Mon, Aug 15, 2011, at 3:45 PM, use-livecode-requ...@lists.runrev.com wrote:

> Message: 14
> Date: Mon, 15 Aug 2011 11:57:24 -0700
> From: stephen barncard <stephenrevoluti...@barncard.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:
>       <CAFmQfH+BdsdJb3Dmzz3TbmTm=ete4mdrxjyykx3w0xug0bx...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
> 
> Bob, I don't see a "ton of html" at
> http://tycho.usno.navy.mil/cgi-bin/timer.pl
> It's just about as simple as it could be presented. It took just a few lines
> of Livecode to scrape. Determine AM and PM and one could even translate to
> 24 hour clock. There's about a half second of latency.
> 
> I just see this html:
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final"//EN>
> <html>
> <body>
> <TITLE>What time is it?</TITLE>
> <H2> US Naval Observatory Master Clock Time</H2> <H3><PRE>
> <BR>Aug. 15, 18:52:50 UTC             Universal Time
> <BR>Aug. 15, 02:52:50 PM EDT  Eastern Time
> <BR>Aug. 15, 01:52:50 PM CDT  Central Time
> <BR>Aug. 15, 12:52:50 PM MDT  Mountain Time
> <BR>Aug. 15, 11:52:50 AM PDT  Pacific Time
> <BR>Aug. 15, 10:52:50 AM AKDT Alaska Time
> <BR>Aug. 15, 08:52:50 AM HAST Hawaii-Aleutian Time
> </PRE></H3><P><A HREF="http://www.usno.navy.mil";> US Naval Observatory</A>
> 
> </body></html>
> 

_______________________________________________
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

Reply via email to