Modifier: minutes_ago


Returns the number of minutes 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 8:30:am

{{ date | minutes_ago }}

1311533

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on March 31, 2016