basically you're doing an == equality comparison o...
# suitescript
j
basically you're doing an == equality comparison on Date objects rather than a primitive (like a number), which will only return true if they are the same object reference. date.getTime() returns a number (the number of milliseconds since UTC epoch)