且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将字符串数据转换为日期格式

更新时间:2023-01-30 17:58:21

尝试DateTime.TryParse ^ ]或DateTime.TryParseExact [
Try the DateTime.TryParse[^] or DateTime.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/[^]