is there any issue with this string as a date fiel...
# suitescript
a
is there any issue with this string as a date field value?
Copy code
Thu Jan 09 2020 00:00:00 GMT+0000 (Greenwich Mean Time)
I have this error -> "INVALID_FLD_VALUE","message":"Invalid date value (must be DD/MM/YYYY)",
b
there are 2 ways to set a Date field in NetSuite, use setValue with the value as a Date object
or setText with the text as a format module formatted string