更新时间:2023-01-30 17:58:21
尝试DateTime.TryParse
^ ]或DateTime.TryParseExact
[
Try theDateTime.TryParse
[^] orDateTime.TryParseExact
[^] methods.
Dim convertedDate As Date = Date.Parse(strdate)
请参阅以下链接:
http://www.developerfusion.com/code/3244 /how-to-convert-a-string-to-a-date/ [
Refer this link:
http://www.developerfusion.com/code/3244/how-to-convert-a-string-to-a-date/[^]