Creates time input.

FormItem::timestamp('timestamp', 'DateTime')

Important: you must have intl php extension installed to use this form element.

Important 2: you must mark your field as date in your model:

public function getDates()
{
    return array_merge(parent::getDates(), ['date_field_name']);
}

Opened State

Display Seconds

FormItem::timestamp('timestamp', 'DateTime')->seconds(true)