锚杆注浆量怎么计算:关于vbs中作日期对比的代码。查错。

来源:百度文库 编辑:高校问答 时间:2024/04/26 01:57:41
Dim strDt 'As String
strDt = "2006-6-7"
If CDate(strDt) > Now Then
'Debug.Print ">"
Else
'Debug.Print "<="
End If

无论我怎么调整本地时间,答案永远是>,请问是那里还有问题了?