I want to achive something like this endDateUtc.Subtract(timespan) <= DateTime.Now
in elastic query . both fields ( enddateutc and timespan ) available in document. i want to do something like doc["enddateutc"].value - doc["timespan"].value <= Datetime.now
, but since timespan is in ticks. i am not able to subtract. Appreciate any help
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.