Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get local time in other countries
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01134752
Message ID:
01134811
Views:
33
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform