Join Slack
Communities
Powered by
Has anyone tried to set a date field value in 2,0?...
# suitescript
s
samyt
08/06/2018, 11:15 AM
Has anyone tried to set a date field value in 2,0? And getting an error in it?
m
mg2017
08/06/2018, 7:23 PM
what error did u get? i recent;y had to set the SO transaction date on an invoice and had to use format.parse which worked for me
mg2017
08/06/2018, 7:23 PM
function DateConversion(date) { return format.parse({ type: format.Type.DATE, value: date }); }
Open in Slack
Previous
Next