I usually wind up using moment.js to deal with dat...
# suitescript
j
I usually wind up using moment.js to deal with dates. You can compare them using
dateA.isSame(dateB, 'date')