Back to Voyager

Date & Timestamp

docs/bread/formfields/date-time.md

1.8.0317 B
Original Source

Date & Timestamp

php
{
    "format" : "%Y-%m-%d"
}

The date & timestamp input field is where you can input a date. In the JSON above you can specify the format value of the output of the date. It allows you to display a formatted date in browse and read views, using Carbon's formatLocalized() method