Here is my code:
@Html.TextBoxFor(m => m.DTE_EFFECTIVE, new { @type = "date", @class = "form-control datepicker", @Value = Model.DTE_EFFECTIVE.ToShortDateString() })
Here is the page:
The DatePicker worked great. I was able to select a date and saved to the database. However, the only thing displayed was mm/dd/yyyy. How can I get the date to display with the "datepicker"? Thank you for your help.

Sachin SinghRank #66 · 26.2K reputationPosted Oct 28, 2020, 7:09 PM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Oct 28, 2020, 9:20 AM EDT
Trang Bartell58 reputationPosted Oct 28, 2020, 9:30 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Oct 28, 2020, 10:39 AM EDT
Trang Bartell58 reputationPosted Oct 28, 2020, 11:27 AM EDT
Trang Bartell58 reputationPosted Oct 29, 2020, 4:15 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Oct 29, 2020, 4:42 AM EDT
Trang Bartell58 reputationPosted Oct 29, 2020, 6:12 AM EDT
Mageshwaran RRank #411 · 6.1K reputationPosted Oct 29, 2020, 7:01 AM EDT