How to fetch a suitelet date field without the time and timezone.

Use :

record.getText({ fieldId: 'custpage_jj_date' });

to get only the date.

use newDate() to get the corresponding date object.

Leave a comment

Your email address will not be published. Required fields are marked *