Set value to property c# datetime error format

When you select the data value in a property of the class the following error is generated "Input string not in a correct format".

I'm converting the date as in the image one it generates correct, but when assigning the error is generated.

I converted it to DateTime and also created it as new, but still the error happens.

The same occurs when use Scheduled = sd,

I am using asp.net core


#c-sharp #asp.net

2 Likes1.70 GEEK