Query format for date argument

Home Forums vLooup for SharePoint Query format for date argument

Viewing 1 reply thread
  • Author
    Posts
    • #12094
      Chris Diltz
      Participant

        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?

      • #12155
        Alexander Bautz
        Keymaster

          Try it like this:

          <Where>
          <Eq>
          <FieldRef Name='YourColumnName'/>
          <Value type="DateTime"><Today OffsetDays="-1"/></Value>
          </Eq>
          </Where>

          Alexander

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.