TheCommonUtils..::..CJSONDateToDateTime Method
Converts a JSON notation date 'Date(ticks)' to a DateTimeOffset value.
Supports input like this: "Date(1335205592410)"
Or this: "\"\\/Date(1335205592410-0500)\\/", as produced by the
.NET DataContractJsonSerializer.
Namespace:
nsCDEngine.BaseClassesAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public static DateTimeOffset CJSONDateToDateTime( string jsonTime )
Public Shared Function CJSONDateToDateTime ( _ jsonTime As String _ ) As DateTimeOffset
public: static DateTimeOffset^ CJSONDateToDateTime( String^ jsonTime )
Parameters
- jsonTime
- Type: String
Input to be converted.