Modifier: months_ago


Returns the number of months since a given date variable. Statamic will attempt to parse any string as a date, but try to keep it in the least ambiguous date format possible.

date: October 1 2017

{{ date | months_ago }}

14
Last modified on December 14, 2017