尝试在VB.Net中获取日期时格式异常

时间:2016-08-15 18:21:33

标签: vb.net date

有人可以指导我为什么会收到此错误。我尝试了许多排列,但我无法解析字符串并从中获取日期

Public Function Starter(starterInput As LoginUserResponse) As List(Of GraphDataObj) Implements iSMS_Rest.Starter
Dim _currentUser = System.Web.HttpContext.Current.Cache(starterInput.tokenProp)
Dim res As Date
Dim provider As Globalization.CultureInfo = Globalization.CultureInfo.InvariantCulture
Dim dateString As String
dateString = starterInput.dateProp  // VALUE HERE: "2016-08-31T03:59:59.000Z"
res = Date.ParseExact(dateString, "dd/MM/yyyy", provider)
'SOME CODE
End Function

我得到的例外

Intel Architecture Instruction Set Extensions Programming Reference (February 2016)

我查看了此链接以寻求帮助:enter image description here

0 个答案:

没有答案