How to calculate the first day of the current book year

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).

Once again problem solved. Stupid question …

Feel free to post your own solution for other all the other silverfin heroes out there.
They might have the same question in the future.

Kind regards

OK Sam,

Just {{period.year_begin_date}} (with filters if necessary).