2012年9月21日

CRM 2011 开发小结 REST查询 datetime类型和 OptionSetValue 类型

摘要: 1,查询时间类型的时候 时间取值要用UTC时间,转成待定格式的字符串 例如:$filter=new_date ge datetime'2010-09-10T12:00:00' and new_date le datetime'2010-09-12T12:00:00'and new_type/Value ne 100000000时间转换函数如下 :function GetUTCDate(date) { var year = date.getUTCFullYear(); var month = date.getUTCMonth() + 1; if (month &l 阅读全文

posted @ 2012-09-21 17:03 HelloHongfu 阅读(678) 评论(0) 推荐(0) 编辑

导航