I was looking for an 'in-year' operator in FetchXML conditions, but only found the 'in-fiscal-year' operator.
Is there a workaround for this functionality?
I was looking for an 'in-year' operator in FetchXML conditions, but only found the 'in-fiscal-year' operator.
Is there a workaround for this functionality?
The only Condition Operators defined by the Schema for years that are not fiscal operations are:
If you want a specific year (in 2008 for example) your best bet is to use the between operator:
<condition attribute = 'createdon' operator='between'>
<value>2008-01-01 00:00:00</value>
<value>2008-12-31 23:59:59</value>
</condition>