时间函数问题
<p>mytime = CDate(Date)在vba里的值是:2007-05-14 15:0000<br/>可我用cn.Execute "insert into tysx values (" & tyidh & ", '" & tysx & "', " & mytime & "," & dwsm + 1 & ",'" & obj.layer & "',1,'" & obj.Linetype & "')"将他写到库里的时候怎么变成1905-05-28 00:00:00了?</p><p>请高手指点!!</p>
页:
[1]