Query format for date argument
- This topic has 1 reply, 2 voices, and was last updated 10 years, 4 months ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › vLooup for SharePoint › Query format for date argument
I can’t seem to figure out the correct argument for a date formula. I want to return list records where a date column equals Today-1 (yesterday). Any know how to do this?
Try it like this:
<Where> <Eq> <FieldRef Name='YourColumnName'/> <Value type="DateTime"><Today OffsetDays="-1"/></Value> </Eq> </Where>
Alexander