Hi there,
I have a simple flow which takes a StartDate and an EndDate both of which are pulled from a list in yyyy-MM-dd format.
When I add this to calculate the difference in days between the dates using the ticks method it keeps saying "The datetime string must match ISO 8601 format.'."
Here is the line I'm using:
div(sub(ticks(formatDateTime('StartDate','yyyyMMdd')),ticks(formatDateTime('EndDate','yyyyMMdd')),864000000000))
Not sure what I'm missing here?
Thanks
David