NCalc date operations
c#, ncalc
Solution
No, the NCalc library doesn't allow to do this.
Read this related topic.
But you can do it withoud of NCalc.
Assuming that `a` and `b` are of type `DateTime`, `(a - b).TotalDays` will return the number of days.
Problem
I am using NCalc in a project. Is there a way to do date operations like #16/02/2013# - #15/02/2013# = 1 I can't seem to be able to produce a result. ``` Expression.Evaluate(); ``` Results is null for the above expression. I can compare two dates, but is there a way to do operations on them using NCalc?