Calculate days counts from current date to given date.


              {% set  f = local_dt %}
              {% set  f2 = listitem.body.date.start_date|plus_time(1, 'days') %}
              {{ f|between_times(f2, 'days') }}
           

Comments

Popular posts from this blog

Pagination of multiple recent post blog

Service Filter

When You Want to open popup(first time load)