一句代码得到SQL SERVER时间的函数


Function getServerTime() As Date
     getServerTime = CDate(CurrentProject.Connection.Execute("SELECT GETDATE()")(0).Value)
End Function 本文作者:
« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3