读入国家授时中心数据

作者在 2018-12-18 21:14:13 发布以下内容
XmlDoc=CREATEOBJECT('Microsoft.XMLDOM')
XmlDoc.async=.F. &&设置同步下载
Ret=XmlDoc.Load('http://www.time.ac.cn/timeflash.asp?user=flash') &&读入XML文件(国家授时中心数据)
IF Ret=.T.
    XMLTOCURSOR(XmlDoc.xml,'tDatetime',0)
    SELECT tDatetime
    BROWSE 
ENDIF
日期时间问题 | 阅读 2375 次
文章评论,共1条
cstdio
2018-12-24 18:34
1
ooooooo
游客请输入验证码
浏览380678次