# Seconds Ago

Returns the number of seconds 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.

```yaml
date: October 1 2015 8:30:am
```

::tabs

::tab antlers
```antlers
{{ date | seconds_ago }}
```
::tab blade
```blade
{{ Statamic::modify($date)->secondsAgo() }}
```
::

```html
{{ test_date | seconds_ago }}
```