How to Calculate Duration between Dates in Dataview

You were kind enough to help with a javascript date format.

If I use both DV and JS to calculate the number of days between two dates, they give different amounts (see the sample file attached). I know there is an issue with how dates are calculated in DV, but I thought that would be when calculating years / months / weeks / days. Assumed that a count of just days would be the same, but it seems not.

Ah, well, still close-ish.

Angel

sampleDVandJS.zip (470 Bytes)