- year month day
<input type=”date”/>
- - Year - Week
<input type=”week”/>
- -years
<input type=”month”/>
- - :-( Time)
<input type=”time”/>
- year month day--:--
<input type=”datetime”/>
- Local date and time
<input type=”datetime-local”/>
the above method does not apply to Firefox.
HTML date control
Guess you like
Origin blog.csdn.net/ShangMY97/article/details/103890030
Recommended
Ranking