Skip to content Skip to footer navigation
You are reading the docs for an old version of Statamic. Consider upgrading to Statamic 6.

date

Get the date of the entry. This will be a Carbon instance.

However if you use it in your template as-is, it will get converted to a string using the format defined in your
system settings.

{{ date }}
{{ $date }}
February 16, 2016