Template Usage
Date/time fields are Carbon objects an can have formatting applied to them directly:
<ul>
<li>{{ $entry->datetime }}</li>
<li>{{ $entry->datetime->toFormattedDateString() }}</li>
<li>{{ $entry->datetime->toDayDateTimeString() }}</li>
</ul>
Settings
Setting | Description |
---|---|
Name |
User-friendly identifier. |
Handle |
Developer-friendly identifier. |
Validation Rules |
Laravel-specific validation rules view docs |
Time Options |
Date only or Date and Time. |
Date Format |
Date formatting pattern*. |