Use :
record.getText({ fieldId: 'custpage_jj_date' });
to get only the date.
use newDate() to get the corresponding date object.
Use :
record.getText({ fieldId: 'custpage_jj_date' });
to get only the date.
use newDate() to get the corresponding date object.