and use the search.Operator for the on or before o...
# suitescript
c
and use the search.Operator for the on or before or on or after (i believe there is 1 not sure of the exact one.. they have a thing for dates though)