This thread is resolved. Here is a description of the problem and solution.
Problem:
The issue here is that the user is having issues with their date filter on views.
Solution:
Normally the issue here is that its quite possible that you have the date field to compare as a String. However since date fields created in types are stored as timestamps then you need to let the comparison be made as Number in the filter.
Example
Start date is a "Number" that is "Lower than or equal" to "Today"
This support ticket is created 5 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
I am using Toolset to create custom post types for Exhibitions, Performances and Events. Exhibitions tend to run over a 30-60 day period. Performances and Events are one-day items.
To display current and upcoming events I need to show events that are currently in progress plus events that have not happened yet.
For each of the custom post types I have a "start date" and an "end date"'.
My current filter is:
Start date is a "String" that is "Lower than or equal" to "Today"
And
End Date is a "String" that is "Lower than or equal" to "Today"
----
That of course shows current events but does not show upcoming events because the "start date" is not lower than today.
If I choose "Or", then past events show because their start date is prior to today.
----
If I could use And and Or in a query I could solve my problem
Start date is a "String" that is "Lower than or equal" to "Today"
And
End Date is a "String" that is "Lower than or equal" to "Today"
Or
Start Date is a "string" that is greater than "today"
--
Is there a way to accomplish the query I have described?