When I do the following :
[EdmFunction(\"Edm\", \"TruncateTime\")]
public static DateTime? TruncateDateTime(DateTime? inputDate)
{
return inputDate.HasV
Have a look at Date and Time Canonical Functions for LINQ-to-Entities and if you are unsure on how to call them, have a look at How to: Call Canonical Functions
The methods that are available should be able to solve the problem your currently having where the operations your currently using are not supported by the database.