I'm using .Net Core Web API with EF
In the database we have a nullable DateTime column
for example : 2021-07-25 11:48:13.820
Now when I query the database using Linq the datetime returned as 7/25/2021 11:48:13 AM
But I want to convert it to this format 2021-07-25T11:48:13.820000Z
Honestly I don't even now what this format is called. maybe if someone can tell me the format name then it will help ma to find a solution. But literally I'm stuck