Would anyone know how to get the difference in days between two dates using liquid? I can't figure it out.
{% assign date1 = "12/10/2020 12:00:00 AM" %}
{% assign date2 = "13/10/2020 12:00:00 AM" %}
the output should be 1 - for 1 day between
I have researched a lot and found "date: '%s'" works for normal liquid - but in PowerApps liquid the '%s' represents the seconds.
{% assign date2 = "13/10/2020 12:00:00 AM" | date: '%s' %}
Cheers in advance!


Report
All responses (
Answers (