Grabbing the Date and Time From a Time Server on the Internet

Andre Garzia andre at andregarzia.com
Wed Aug 17 09:00:09 EDT 2011


Folks,

See the other thread... I created a simple NTP stack...

go stack url "http://andregarzia.com/stacks/libNTPToy.livecode"

;-)

It is a silly implementation, really naive but it works...

On Wed, Aug 17, 2011 at 9:51 AM, Gregory Lypny
<gregory.lypny at videotron.ca>wrote:

> I too am scratching my head on that one, Bob.
>
> Gregory
>
>
> On Tue, Aug 16, 2011, at 6:46 PM, use-livecode-request at lists.runrev.comwrote:
>
> > Message: 2
> > Date: Tue, 16 Aug 2011 10:31:13 -0700
> > From: Bob Sneidar <bobs at twft.com>
> > To: How to use LiveCode <use-livecode at lists.runrev.com>
> > Subject: Re: Grabbing the Date and Time From a Time Server on the
> >       Internet
> > Message-ID: <5F787920-E6F0-41C4-B793-3F1B14E60801 at twft.com>
> > Content-Type: text/plain; charset=windows-1252
> >
> > I see the problem here. The url I use does not return the year! And I
> cannot just get the year from the system date, because that defeats the
> whole purpose of a "RealTime" function. Going to have to do a bit more
> research.
> >
> > Bob
> >
> >
> > On Aug 16, 2011, at 9:33 AM, Gregory Lypny wrote:
> >
> >> Hi Bob,
> >>
> >> Good summary, Bob.  It summarizes nicely the issues that I?m dealing
> with in creating a client-side student helper app.  Your RealTime function
> works nicely.  The only thing missing is the year, which again, is something
> that a user could set manually.
> >>
> >> Regards,
> >>
> >> Gregory
> >
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the Use-livecode mailing list