我在Dynamics 365 CRM中有2个日期列,其中一个是有效的旅行通行证,从和 另一个是旅行通行证,适用于...
我需要知道旅行通行证今天是否有效,但是我找不到方法吗?
onOrAfter上有操作,但是我不确定今天怎么说onOrAfter
答案 0 :(得分:0)
如果您使用代码编写查询,则只需在查询中输入今天的日期即可。
例如
country
答案 1 :(得分:0)
格式选项包括:
`<condition attribute="createdon" operator="on-or-after" value="2014-06-20" />`
与大于或等于运算符ge
的OR:
<condition attribute="createdon" operator="ge" value="07/01/2014" />
或者,如果您想倒数第二个:
<condition attribute="modifiedon" value="2014-04-23T14:05:18-04:00" operator="gt"/>
<condition attribute="modifiedon" value="2014-04-23T14:48:37-04:00" operator="lt"/>