I have been looking at this for 2 days, and cant figure out what I am doing wrong.
Here is a fiddle with my project. http://jsfiddle.net/dagger2002/RR4hw/
He
tag
in Razor view use as below
@Html.EditorFor(model => model.MyDate, new { htmlAttributes = new { @class = "form-control datepicker" } })
@Html.EditorFor(model => model.MyDateTime, new { htmlAttributes = new { @class = "form-control datetimepicker" } })