JsonUtility.DeserializeDateTime method
Converts a serialized date and time to a System.DateTime object, or null if a valid conversion cannot be made.
Namespace: Microsoft.SharePoint.JsonUtilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function DeserializeDateTime ( _
serializedDate As String _
) As Nullable(Of DateTime)
'Usage
Dim serializedDate As String
Dim returnValue As Nullable(Of DateTime)
returnValue = JsonUtility.DeserializeDateTime(serializedDate)
public static Nullable<DateTime> DeserializeDateTime(
string serializedDate
)
Parameters
serializedDate
Type: System.StringThe serialized date and time.
Return value
Type: System.Nullable<DateTime>
A Nullable<T> with the System.DateTime or null.