- Open the site in which the list or document library resides using Microsoft Office SharePoint Designer.
- Locate the list or document library and open the .aspx file associated with the view (e.g. “AllItems.aspx”)
- Click the Code tab and locate the CAML query associated with the filter (search on the name of your DateTime field, e.g. "StartDateTime").
- Edit the CAML query to include the IncludeTimeValue attribute (IncludeTimeValue="True"). Please note that you need to include spaces exactly as shown in the sample below:
<Gt>
<FieldRef Name="StartDateTime"/>
<Value Type="DateTime" IncludeTimeValue="True">
<Today/>
</Value>
No comments:
Post a Comment