Re: Internet Date Service test

2018-09-15 Thread Peter Bogdanoff via use-livecode
Thank you Mark, I’ll try it out. Peter > On Sep 14, 2018, at 9:24 PM, Mark Wieder via use-livecode > wrote: > > On 09/14/2018 08:30 PM, Peter Bogdanoff via use-livecode wrote: > > I’m not seeing how to translate use of an NTP server into "LC-talk.” I > > would love to use it but Google doesn

Re: Internet Date Service test

2018-09-14 Thread Mark Wieder via use-livecode
On 09/14/2018 08:30 PM, Peter Bogdanoff via use-livecode wrote: > I’m not seeing how to translate use of an NTP server into "LC-talk.” I would love to use it but Google doesn’t seem to have an API that I can access. And I would love the dependability of the Google universe. NTP uses port 13.

Re: Internet Date Service test

2018-09-14 Thread Peter Bogdanoff via use-livecode
;> On Sep 14, 2018, 7:36 PM -0500, Richard Gaskin via use-livecode < >>>> use-livecode@lists.runrev.com>, wrote: >>>> >>>>> Peter Bogdanoff wrote: >>>>> >>>>> And… if anyone has a method that doesn’t rely on the user’s lo

Re: Internet Date Service test

2018-09-14 Thread Stephen Barncard via use-livecode
to hear that… >>>>> >>>> >>>> Using "the seconds" returns a value that accounts for local GMT offset. >>>> with the value returned being for GMT. >>>> >>>> So if you get the seconds and then display them on a machine se

Re: Internet Date Service test

2018-09-14 Thread J. Landman Gay via use-livecode
command to display them in any human-readable format. FWIW "the internet date" is similarly useful for converting to other formats in ways that take local time zone into account. AFAIK those are the only two built-in date formats that account for GMT offset, but I've used both f

Re: Internet Date Service test

2018-09-14 Thread Stephen Barncard via use-livecode
value that accounts for local GMT offset. > >> with the value returned being for GMT. > >> > >> So if you get the seconds and then display them on a machine set to a > >> different time zone, the time zone will be taken into account when using > &g

Re: Internet Date Service test

2018-09-14 Thread Peter Bogdanoff via use-livecode
>> So if you get the seconds and then display them on a machine set to a >> different time zone, the time zone will be taken into account when using >> the convert command to display them in any human-readable format. >> >> FWIW "the internet date" is similar

Re: Internet Date Service test

2018-09-14 Thread Brian Milby via use-livecode
and then display them on a machine set to a > different time zone, the time zone will be taken into account when using > the convert command to display them in any human-readable format. > > FWIW "the internet date" is similarly useful for converting to other > formats in ways that

Re: Internet Date Service test

2018-09-14 Thread Richard Gaskin via use-livecode
isplay them on a machine set to a different time zone, the time zone will be taken into account when using the convert command to display them in any human-readable format. FWIW "the internet date" is similarly useful for converting to other formats in ways that take local time zone i

Re: Internet Date Service test

2018-09-14 Thread Peter Bogdanoff via use-livecode
That sounds plausible. I am getting uneven results with this… Is this a job for LC Server? To return the seconds and then do my calculations from that? Peter > On Sep 14, 2018, at 4:06 PM, Bob Sneidar via use-livecode > wrote: > > Also it dawns on me that the US Navy may firewall it's own t

Re: Internet Date Service test

2018-09-14 Thread Bob Sneidar via use-livecode
Also it dawns on me that the US Navy may firewall it's own time servers so that they are no DOS attacked. Bob S > On Sep 14, 2018, at 15:58 , Bob Sneidar via use-livecode > wrote: > > While the USA does not firewall it's internet, there are countries that do. > Costa Rica may be one of the

Re: Internet Date Service test

2018-09-14 Thread Bob Sneidar via use-livecode
While the USA does not firewall it's internet, there are countries that do. Costa Rica may be one of them. Bob S > On Sep 14, 2018, at 15:33 , Peter Bogdanoff via use-livecode > wrote: > > It seems to work well in on my computer and others in the USA, but a Windows > tester in Costa Rica c

Re: Internet Date Service test

2018-09-14 Thread Stephen Barncard via use-livecode
Hi Peter, why don't you consider a VPN for such testing? It can place you in any country you need, and you get immediate confirmation. VPN's are plentiful and free to cheap. sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Fri, Sep 14, 2018 at 3:33 PM, Peter Bogdanoff via use-l

Internet Date Service test

2018-09-14 Thread Peter Bogdanoff via use-livecode
Hi, For trial version expiration of my program, I’ve been attempting to use the US Naval Observatory time service which has an API that returns info as JSON data: http://aa.usno.navy.mil/data/docs/api.php#jdconv My request: put URL "http://ap

Re: Internet date

2016-11-02 Thread Richard Gaskin
Bob Sneidar wrote: > On Nov 1, 2016, at 10:48 , Richard Gaskin wrote: > > Generally, > date/time processing isn't all that hard... That wasn't me. That was me quoting someone else, to which I replied: ...it's just not a trivial thing to do. I've read enough of Kay's good links on the sub

Re: Internet date

2016-11-02 Thread Bob Sneidar
Someone a while back posted an article someone did about implementing global time into their app. By the time he got through all the variations and exceptions between zones, countries, specific territories and states, my head was spinning. Hawaii for instance does not use DST, as is the case for

Re: Internet date

2016-11-01 Thread Graham Samuel
-- > Subject: Re: Internet date > Date: Tue, 1 Nov 2016 11:18:21 -0700 > From: Richard Gaskin > To: use-livecode@lists.runrev.com > > J. Landman Gay wrote: > >> I am surprised that the day and month names aren't in the user's >> language though, I t

Re: Internet date

2016-11-01 Thread Richard Gaskin
J. Landman Gay wrote: > I am surprised that the day and month names aren't in the user's > language though, I thought they would be. It may help to consider the use case most RFCs address. While a developer can choose anything they like to display to a human consumer of information, most RFC-

Fwd: Re: Internet date

2016-11-01 Thread Richard Gaskin
This didn't seem to go through - resending: Forwarded Message Subject: Re: Internet date Date: Tue, 1 Nov 2016 11:18:21 -0700 From: Richard Gaskin To: use-livecode@lists.runrev.com J. Landman Gay wrote: I am surprised that the day and month names aren't in

Re: Internet date

2016-11-01 Thread Richard Gaskin
Sannyasin Brahmanathaswami wrote: >> Is the internet date in a consistent format in every country? That >> is, except for the spelling of the day and month names, is the format >> always the same? > > I believe the whole rest of the IT world solved this a long time

Re: Internet date

2016-11-01 Thread Matthias Rebbe
Hi the time the internet date returns depends on the timezone you´ve selected in your settings. On my Mac i changed for example my timezone from Central European time to NewZealand summertime and my internet date changed from Tue, 1 Nov 2016 17:21:22 +0100 to Wed, 2 Nov 2016 05:20:03

Re: Internet date

2016-11-01 Thread Tore Nilsen
tive Software | http://www.hyperactivesw.com > > > > On November 1, 2016 9:47:11 AM Tore Nilsen wrote: > >> Use systemDate does not apply to the internet date. I got the same result >> with this set to both true and false. >> >> Tore >> >

Re: Internet date

2016-11-01 Thread Bob Sneidar
I call this sql date in my formatDate() function. Bob S On Nov 1, 2016, at 07:56 , Sannyasin Brahmanathaswami mailto:bra...@hindu.org>> wrote: in a related note… Is the internet date in a consistent format in every country? That is, except for the spelling of the day and month names,

Re: Internet date

2016-11-01 Thread J. Landman Gay
.com On November 1, 2016 9:47:11 AM Tore Nilsen wrote: Use systemDate does not apply to the internet date. I got the same result with this set to both true and false. Tore 1. nov. 2016 kl. 15.24 skrev Richard Gaskin : J. Landman Gay wrote: > Is the internet date in a consistent fo

Re: Internet date

2016-11-01 Thread Sannyasin Brahmanathaswami
in a related note… > Is the internet date in a consistent format in every country? That > is, except for the spelling of the day and month names, is the format > always the same? I believe the whole rest of the IT world solved this a long time ago.. and I've had an enhancement

Re: Internet date

2016-11-01 Thread Tore Nilsen
And I guess that is part of the reasoning for the internet date. You can be sure that the information will have a specific format, regardless of any other factors that may affect the way the information is formatted. Put the info in a variable, extract and format the parts you need to your own

Re: Internet date

2016-11-01 Thread Tore Nilsen
Use systemDate does not apply to the internet date. I got the same result with this set to both true and false. Tore > 1. nov. 2016 kl. 15.24 skrev Richard Gaskin : > > J. Landman Gay wrote: > > > Is the internet date in a consistent format in every country? That >

Re: Internet date

2016-11-01 Thread Richard Gaskin
J. Landman Gay wrote: > Is the internet date in a consistent format in every country? That > is, except for the spelling of the day and month names, is the format > always the same? I believe all dates in LC are delivered using US English spellings, except when explicitly directed oth

Re: Internet date

2016-11-01 Thread Richmond
Here, in Bulgaria: Tue, 1 Nov 2016 16:15:56 +0200 *Richmond.* On 1.11.2016 08:59, Thierry Douez wrote: and in France: Tue, 1 Nov 2016 07:57:56 +0100 2016-11-01 7:38 GMT+01:00 J. Landman Gay : Is the internet date in a consistent format in every country? That is, except for the spelling

Re: Internet date

2016-11-01 Thread Thierry Douez
and in France: Tue, 1 Nov 2016 07:57:56 +0100 2016-11-01 7:38 GMT+01:00 J. Landman Gay : > Is the internet date in a consistent format in every country? That is, > except for the spelling of the day and month names, is the format always > the same? > > Where I am, it is: Tue, 1

Re: Internet date

2016-10-31 Thread Tore Nilsen
Here is what I get in Norway: Tue, 1 Nov 2016 07:54:59 +0100 Tore > 1. nov. 2016 kl. 07.38 skrev J. Landman Gay : > > Is the internet date in a consistent format in every country? That is, except > for the spelling of the day and month names, is the format always the same? >

Internet date

2016-10-31 Thread J. Landman Gay
Is the internet date in a consistent format in every country? That is, except for the spelling of the day and month names, is the format always the same? Where I am, it is: Tue, 1 Nov 2016 01:35:55 -0500 Geez, where did the year go? -- Jacqueline Landman Gay | jac

The Internet Date on Cento OS / LiveCode Server Returns Zulu Time

2015-01-15 Thread Brahmanathaswami
Anyone know a) why Livecode returns zulu time (no UTC offset) for the internet date on a web server in San Francisco? b) how to fix that? On my machine (HST) the internet date returns: Thu, 15 Jan 2015 18:00:57 -1000 And the web server (in SF) CentOS shell --- system itself returns the

Re: And What About the Internet Date and Time?

2011-08-19 Thread Bob Sneidar
I see your point Gregory, but then NOTHING that displays the current date time will display correctly, including the system clock, if the user has the wrong zone selected, and that is the user's fault. For your display only purposes I would say that the current time zone gleaned from the interne

Re: And What About the Internet Date and Time?

2011-08-19 Thread Gregory Lypny
Hi Peter, Yes, seconds converted from UTC is the only reliable timestamp. I asked about time zone settings in local machines for display purposes. We may have a timestamp that is absolutely correct but if that is to be displayed for the user in a LiveCard app on their local machine, say as a

Re: And What About the Internet Date and Time?

2011-08-19 Thread Bob Sneidar
t;> >> My question is, How does LiveCode know the local computer’s time zone when >> we ask for the date in the Internet Date format? My guess is that the >> computer’s owner has to have set it. And if the person is on the move, it >> may be incorrect even if it wa

Re: And What About the Internet Date and Time?

2011-08-19 Thread Bob Sneidar
enhancement to Stephan Barncard’s excellent returnNISTime function shortly. > > My question is, How does LiveCode know the local computer’s time zone when we > ask for the date in the Internet Date format? My guess is that the > computer’s owner has to have set it. And if the person is o

Re: And What About the Internet Date and Time?

2011-08-18 Thread Peter M. Brigham, MD
my Mac. I will post a modest > enhancement to Stephan Barncard’s excellent returnNISTime function shortly. > > My question is, How does LiveCode know the local computer’s time zone when we > ask for the date in the Internet Date format? My guess is that the > computer’s ow

Re: And What About the Internet Date and Time?

2011-08-18 Thread stephen barncard
Yes, each user's machine's "Internet Date" format will have been set by the user, which could easily be to another month or year (for cheating time-out based demos. or the clock battery was not replaced) .Why not always refer to UTC time for all entries? This is the true &q

Re: And What About the Internet Date and Time?

2011-08-18 Thread Andre Garzia
Gregory, Have you seen my NTP stack??? If you get the internet date, the last part shows the timezone (I think) Cheers andre On Thu, Aug 18, 2011 at 5:03 PM, Gregory Lypny wrote: > Hello again everyone, > > Okay, please don’t hate me. I'm still trying to nail down a reasona

And What About the Internet Date and Time?

2011-08-18 Thread Gregory Lypny
llent returnNISTime function shortly. My question is, How does LiveCode know the local computer’s time zone when we ask for the date in the Internet Date format? My guess is that the computer’s owner has to have set it. And if the person is on the move, it may be incorrect even if it was set at