Guest User

Guest User

  • Tech Writer
  • 515
  • 46.4k

About Date Format

Mar 16 2019 3:01 AM
i am storing date in sql database.
@Html.TextBoxFor(Model => Model.StartDate, new { @class = "form-control form-control-lg", @id = "txtStartDate", @type = "date" }) 
 
It is working while saving date to database.
 
But while Editing the record it does not fetch date in that textbox.it is coming as follows.Please find attachment. 
 
 
thanks in advance 

Attachment: date.zip

Answers (6)