My database has stored the date and time value i.e., with datatype Datetime.
I use Entity framework.
I want to check the fields with given date and extract only those records.
var query = from h in test.sample
The above code is not working.
I also used entityfunctions.truncatetime() whiich also does not favours me.
help me to extract only date from datetime datatype.