Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I am attempting to get orders that were completed between two dates and the "before" and "after" criteria parameters don't seem to work. Perhaps I am using the wrong syntax? Example of how I am using them:
It looks like I figured it out by doing this:
.dateOrdered('and', '>=' ~ startDate, '<=' ~ endDate)
'>=' ~ startDate
'>=' ~ startDate|date('c')
Required, but never shown