0

Any good ideas for setting a date field to null using SSJS? I have tried:

consents.Rows.Update({optinDate:now,optOutDate:''}, ['id'], [contactID]); //no luck
consents.Rows.Update({optinDate:now,optOutDate:null}, ['id'], [contactID]); //no luck
consents.Rows.Update({optinDate:now,optOutDate:}, ['id'], [contactID]); //error 500

The date field IS nullable, and has no default value set.

2

0

Browse other questions tagged .