Skip to content

Deprecated since 7.2

This page documents the classic module layer (CBController and cbInit()). It still works in every 7.x release, but new code should use resources and pages.

Use instead: DatePicker::make('opens_at')->timeOnly().

Time Form Input Type ​

Showing a timepicker

Code Sample ​

php
$this->form[] = ['label'=>'Start Time','name'=>'start_time','type'=>'time'];

It will produce the value H:i:s

What's Next ​

Table Of Contents ​

Released under the MIT License.