`if ((oldRec.getValue({fieldId: 'custbody_ecommeta...
# suitescript
k
if ((oldRec.getValue({fieldId: 'custbody_ecommeta'}) as Date).getTime() === (newRec.getValue({ fieldId: 'custbody_ecommeta'}) as Date).getTime()) {
s
that's begging to be a small utility function