Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get local time in other countries
Message
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:
01134811
Vues:
34
Thanks Sergey - it does indeed - parsing no problem

Colin

>Hi Colin,
>
>The code loads full page (html) into the memo field. You'll have to parse it to get time for specific location.
>
>>
>>Thanks for that - I'll try it 2morrow - sorry to be so ignorant on this - the first 5 lines of your code I assume I copy as they are but the last 2 lines I'm not sure of - what would the code be if I wanted the local time in New York?
>>
>>
>>
>>>
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
>>>
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform