js 实现 动态计算 两时间差

阅读更多
@model RightMobileSite.Models.Pulse

@{
    ViewBag.Title = "SetDates";
}

SetDates

@Html.ActionLink("Pulse", "EditPulse", new { pulseId = Model.PulseId }) > @Html.Label("Set Dates", "SetDates") > @Html.ActionLink("View Pulse", "ViewPulse",new { pulseId=Model.PulseId }) > @Html.ActionLink("Select Audience", "Index") > @Html.ActionLink("Send for Approval", "Index")
@using (Html.BeginForm()) { @Html.HiddenFor(model => model.PulseId) @Html.ValidationSummary(true)
Pulse
@Html.LabelFor(model => model.PulseStartDate)
@Html.EditorFor(model => model.PulseStartDate) @Html.ValidationMessageFor(model => model.PulseStartDate)
@Html.LabelFor(model => model.PulseFinishDate)
@Html.EditorFor(model => model.PulseFinishDate) @Html.ValidationMessageFor(model => model.PulseFinishDate)
@Html.Label("Pulse Duration")
@Html.Label("days")

}
 

你可能感兴趣的:(.net,js,jquery,date)