This forum is closed. Thank you for your contributions.
Hi,
I need to construct a CAML query which returns list items based on below condition
item Created Date < Current Date - 1 Year, How to construct this
can any one help.
Thanks,
try this:
<Where>
<Lt>
<FieldRef Name='Created' />
<Value Type='DateTime'>[Today-1Year(s)]</Value>
</Lt>
</Where>