Is possible to cast DateTimeOffset to a long (the date in milliseconds)
ex:
url/Fiels?$filter=cast(Birthdate,'Edm.Decimal') gt 0
This would return me all the fields that have the birthdate after 1 january 1970...
But I get
{
"error":{
"code":"","message":"The query specified in the URI is not valid. The binary operator GreaterThan is not defined for the types 'System.Object' and 'System.Nullable`1[System.Decimal]'."
}
}