Modifier: weeks_ago


Returns the number of weeks 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 2015

{{ date | weeks_ago }}

62
Last modified on March 31, 2016