摘要:
@Html.TextBoxFor(model => model.TicketBeginTime, Model.TicketBeginTime.ToString("yyyy/MM/dd"), new { @class = "textbox", style = "width:150px;", onfocus = "ticketBeginTime()" }) @Html.TextBoxFor(model => model.TicketEndTime, Model.TicketEndTime.ToString( 阅读全文
摘要:
Date.prototype.pattern=function(fmt) { //日期格式化函数 var o = { "M+" : this.getMonth()+1, //月份 "d+" : this.getDate(), //日 "h+" : this.getHours() == 0 ? 12 : this.getHours(), //小时 "H+" : this.getHours(), //小时 "m+" : this.getMinutes(), //分 "s+" : 阅读全文