IT
摘要: @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( 阅读全文
posted @ 2012-09-14 17:38 liufei 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 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+" : 阅读全文
posted @ 2012-09-14 13:20 liufei 阅读(313) 评论(0) 推荐(0) 编辑