Closed Atallah-Hammad closed 1 year ago
@Atallah-Hammad Hi, I believe yes, actually it should work as this but for "Y", "M", "D" only.
for example
static void Main()
{
var eval = NoStringEvaluator.CreateFacade().Evaluator;
var args = new Dictionary<string, EvaluatorValue>
{
{ "date1", DateTime.Parse("01.01.2001") },
{ "date2", DateTime.Parse("01.01.2003") }
};
var res = eval.CalcNumber("DateDif(date1; date2; 'Y')", args); // 2
}
Thanks alot
Hi, Are DateTime Functions working? DateDif(date1; date2; 'Y')?
If yes, Can give me an example