c dynamic data analysis in datetime

You must convert the dynamic data to string.

Fix your code like this:

dynamic data = JsonConvert.DeserializeObject(jsonData);
string strDate=data.operationStartDate;
DateTime mydt=DateTime.Parse(strDate);

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top