Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get local time in other countries
Message
 
À
10/07/2006 13:42:07
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01134752
Message ID:
01135069
Vues:
21
There are many sites that offer this information in a format or another, some use POSTS and GETS, some use HTML pages with all the infomration, but as for restrictions, changes sites, and use POST to this site.
http://www.timezoneconverter.com/


>>
CREATE CURSOR myWebPage (content m)
>>url="http://www.timeanddate.com/worldclock/full.html"
>>objHTTP = CreateObject("MSXML2.XMLHTTP")
>>objHTTP.Open("GET", url,.f.)
>>objHTTP.Send()
>>Insert into myWebPage (content) VALUES (objHTTP.ResponseText)
>>MODIFY MEMO myWebPage.content
>
>Of course I had to try it right away... and the first thing I see in the memo is
>
>"scripts and programs that download content transparent to the user are not allowed without permission".
>
>So I figure downloading it once and keeping the offsets somewhere would be better, otherwise the admins of the site may take notice that something keeps doing a simple httpget(), and start getting annoyed.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform