0
鉴于这种代码CRM.FindRecord()返回的对象:贤者CRM - 如何保存日期使用
var ToDateDate = new String(Request.Form("Comm_ToDateTime"));
ToDateDate = ToDateDate.split("/");
var newToDateTime = ToDateDate[2]+"-"+ToDateDate[1]+"-"+ToDateDate[0]+" "+Request.Form("Comm_ToDateTime_TIME")+":00.000";
CurrentCommunication("Comm_ToDateTime") = newToDateTime;
CurrentCommunication.SaveChanges();
我怎么能保存日期?
这样的日期(如天,月,年),得到了保存,但小时,minutos没有。
为newToDateTime
变量的最终输出是2016-19-09 08:50:00.000
,如果我在barehand SQL更新使用此值(2016-19-09 08:50:00.000
),它的工作原理