Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get Time From Internet Using VFP

Status
Not open for further replies.

FoxT2

MIS
Oct 3, 2003
143
US
Hi all,

Anyone know of a way to (with VFP) return date and time from a server on the internet without using any 3rd party software. Can you hit yahoo.com or msn.com and get this with VFP?


FoxT
 
You could always use a Web Service, these is ay least one offered at Note: You'll need at least VFP 7.0, and preferably 8.0, and you'll need to install SOAP 3.0.

Rick
 
You can make a call on Nettime, but I don't think that's
what you want.

To write a NTP client will take quite a bit of work.
Here's a URL: that explains the spec of NTP.

Rfc's:
1305 - 2030 -

Here's a link to an ActiveX; which I've never used.


Darrell
 
h=fcreate(ServerPath + 'foo')
=fclose(h)
?fdate(ServerPath + 'foo',1)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top