Hello Magus069
Thank-you for your reply.
I have tried that but it does work the answer shows as zero
So what I did is I tried changing it a bit because its in a dynamic table or flow table that will allow user to add or delete rows I added in [*] but still wasn't able to get it to work. This is what I have
var DateFrom = Date2Num(DateField1[*].rawValue, "MM/DD/YYYY")
var DateTo = Date2Num(DateField2[*].rawValue, "MM/DD/YYYY")
var answer = DateTo - DateFrom
Is there anything that I am missing?
Thanks in advance