Sapui5 oData.create的日期格式
我有一个创建过滤器入口:Sapui5 oData.create的日期格式,sapui5,Sapui5,我有一个创建过滤器入口: oEntry.Budat = new Date(); oDataModel.create('/DeliveryCompleteSet', oEntry, null, function(oData){ MessageToast.show(oData.Text,{ duration: 5000, width: "100em",
oEntry.Budat = new Date();
oDataModel.create('/DeliveryCompleteSet', oEntry, null, function(oData){
MessageToast.show(oData.Text,{
duration: 5000,
width: "100em",
});
oEntry包含一个日期字段,当我执行创建时,它给我一个错误“无效日期”。字段必须是什么格式?检查
Edm.DateTime表示日期和时间,其值范围为公元1753年1月1日午夜12:00:00至12月1日下午11:59:59
公元9999年
您是如何将edm.dateTime格式应用于代码的?