Working with Html.TexBox and DateTime values.

I am working DateTime value today.  

This doesn’t work.. because the 

wants the DateTime value like “2018-01-01”, so I need to add 

now the whole line look like this

now you can get DateTime value and be able to use the calendar editor that type=“date” provide.