AnsweredAssumed Answered

Filter between two dates in Javascript? $dateBetween? $gte? $lte?

Question asked by Kortnee Wilson on Sep 5, 2015
Hey, Hoping someone out there has run into this and can point me in the right direction.

Within record.js I am doing a createBeanCollection and from within there doing a filter.

filter:[{'date_entered':{'$dateRange':'this_month'}}]  Works as I saw on Angels blog.

But what I need is this.. I have a date, I need to filter the module I am doing the fetch on to see if fieldStart is greater or equal to my date AND also filter my fieldEnd to see if it's less then or equal to the same date.

Hope this makes sense and someone has advice :) Almost 4am I can't figure it out lol

Outcomes