Hi,
This question might have been covered in the past, but I didn’t find a reference.
I’d like to calculate the first day of the current period.
{% assign previous_period = period.minus_1y %}
{% assign period_firstdayofbookyear = previous_period.end_date + 1 %}
{% assign period_firstdayofbookyear = previous_period.end_date | plus: 1 %}
{{ period_firstdayofbookyear }}
Neither of them works. I always get the date in the 1970’s (the begin date).