Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the date and time by country
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Getting the date and time by country
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01587430
Message ID:
01587430
Views:
56
My code is
public ct
CREATE CURSOR WebPage (myMails m)
set century on
url="http://www.timeanddate.com/worldclock/full.html" + '?Dummy=' + sys(2015)
*url="http://www.timeanddate.com/worldclock/full.html"
objHTTP = CreateObject("MSXML2.XMLHTTP.4.0")
objHTTP.Open("GET", url,.f.)
objHTTP.Send()
Insert into WebPage (myMails)  VALUES (objHTTP.ResponseText)
objHTTP = null 
RELEASE objHTTP
I can't seem to get the date returned just the day and time - any ideas

Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Next
Reply
Map
View

Click here to load this message in the networking platform