Creates a <input type="time"> html tag.
time($name, $value, $required, $placeholder, $class, $id, $style, $data, $attr);| Parameter | Required | Default |
|---|---|---|
| $name | no | null |
| $value | no | null |
| $required | no | false |
| $placeholder | no | null |
| $class | no | null |
| $id | no | null |
| $style | no | null |
| $data | no | null |
| $attr | no | null |
string
Usage:
echo time('start');Result:
<input type="time" name="start">