S
slb302
Unregistered / Unconfirmed
GUEST, unregistred user!
Dim MyString As String = "05/8/25 00:00"
Dim MyDate, MyTime As Date
MyTime = CDate(MyString )
MyDate= DateAdd(DateInterval.Minute, 5, MyTime)
最后得到的结果是:MyDate=05/8/25 12:05
我想得到:05/8/25 00:05 请大家指教!
谢谢
Dim MyDate, MyTime As Date
MyTime = CDate(MyString )
MyDate= DateAdd(DateInterval.Minute, 5, MyTime)
最后得到的结果是:MyDate=05/8/25 12:05
我想得到:05/8/25 00:05 请大家指教!
谢谢