>I have a new product that is licensed by the year - anyone know the best way to grab the current Date out in web land somewhere (instead of just checking the local computers clock)? Code sample would also be appreciated. I am using VFP 9 SP2.
>
>Thanks in advance....
A very very simple way of doing this, without too much of a fuss, is to check on a highly available web site (W3, Google, ...) and read its date.
LOCAL HttpCall AS MSXML2.ServerXMLHTTP60
m.HttpCall = CREATEOBJECT("MSXML2.ServerXMLHTTP.6.0")
m.HttpCall.Open("Get", "https://www.w3.org")
m.HttpCall.Send()
? m.HttpCall.Getresponseheader("Date")
----------------------------------
António Tavares Lopes