Internet Date Service test

Stephen Barncard stephen at barncard.com
Fri Sep 14 18:40:25 EDT 2018


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-livecode <
use-livecode at lists.runrev.com> wrote:

> 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 <
> http://aa.usno.navy.mil/data/docs/api.php#jdconv>
>
> My request:
> put URL "http://api.usno.navy.mil/jdconverter?date=today&time=
> 22:15:23.5&ID=ArtsInteractive" into sJulianDateJSON
>
> I have a handler that checks for the local variable sJulianDateJSON to
> contain the returned data, then I use the current Julian date returned (the
> number of days since January 1, 4713 BC) to write and check on the current
> date and expiration dates.
>
> It seems to work well in on my computer and others in the USA, but a
> Windows tester in Costa Rica can’t seem to get a response. I haven’t
> figured out if this is a programming or Internet issue, and it’s difficult
> to determine since it works well for me on Mac and Windows.
>
>
>
> Would any of you test this small LC stack — in the USA or elsewhere? And
> send me results directly to my email address?
>
> https://artsinteractive-products.s3.amazonaws.com/
> MITA/Get_Julian_Date.livecode.zip <https://artsinteractive-
> products.s3.amazonaws.com/MITA/Get_Julian_Date.livecode.zip>
>
> 1. Click “Get Julian Date”. If it works, it should show a number in the
> “Julian Date” field after a few seconds.
> 2. “Clear” resets the result fields
> 3. The top field “Try x times” can be set to a larger number if necessary.
> 4. If it works the “Send Email” will attempt to use your email client to
> email me the results.
>
>
> And… if anyone has a method that doesn’t rely on the user’s local
> date/time I’d like to hear that…
>
> Thanks!
>
> Peter Bogdanoff
> ArtsInteractive
> _______________________________________________
> 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



More information about the use-livecode mailing list