I have model with some properties and I am passing xml file to my store procedure.
below is the property in my model
- public DateTime LastUpdatedDateTime { get; set; }
While passing LastUpdatedDateTime values from C#, I am passing current date time
- LastUpdatedDateTime = DateTime.Now;
In xml I am getting format like below
- <MyModel>
- <Id>7Id>
- <LastUpdatedDateTime >2019-07-25T10:29:52.9330116+05:30LastUpdatedDateTime >
- MyModel>
Now database value is not inserting as per curent datetime
Can anyone please correct it. What exactly I am missing into this???

Amit MohantyPosted Jul 25, 2019, 2:21 AM
Rajanikant HawaldarPosted Jul 25, 2019, 1:16 AM
Bidyasagar MishraPosted Jul 25, 2019, 12:24 AM