怎样将string转换成DateTime?比如,
dim datestr as string
datestr="20060814"
我用DateTime.ParseExact(ksbirthday, "YYYYMMDD",
System.Globalization.DateTimeFormatInfo.CurrentInfo)
报错。
该怎么转成DateTime?
谢谢了,这问题对这的人应该不难吧
谢过了
...全文
1947238打赏收藏
怎样将string转换成DateTime?
怎样将string转换成DateTime?比如, dim datestr as string datestr="20060814" 我用DateTime.ParseExact(ksbirthday, "YYYYMMDD", System.Globalization.DateTimeFormatInfo.CurrentInfo) 报错。 该怎么转成DateTime? 谢谢了,这问题对这的人应该不难吧 谢过了