Retrieving Date and Time From The Internet

Gregory Lypny gregory.lypny at
Wed Aug 17 09:21:08 EDT 2011

Much obliged, Scott.


On Tue, Aug 16, 2011, at 6:46 PM, Scott Rossi wrote:

> A fun challenge.  Here's one option, limited to a single time (US Eastern),
> with no guarantee of reliability (can any Web-based service truly claim
> this?):
> function timeStamp
>   put url "" into temp
>   wait 500 millisecs with messages
>   put url "" into temp
>   repeat with N = number of lines of temp down to 1
>      if line N of temp is not empty then return line N of temp
>   end repeat
> end timeStamp
> The reason for the dual URLs is the host requires initial access through a
> home page.  Only thing I can guess is there's some back-end foolery going on
> that's not accessible (at least I can't see anything that's apparent, but
> maybe that's just me).

More information about the Use-livecode mailing list