trouble with validation scripts

LabKey Support Forum (Inactive)
trouble with validation scripts Ben Bimber  2010-07-06 16:20
Status: Closed
 
that makes sense. i didnt realize format() was ext.

I originally tried:
row.ts = new Date();

however, that resulted in this error:

Could not convert 'org.mozilla.javascript.NativeDate@1321992' for field ts, should be of type Date

That's why i started trying to make a string. Does that error make sense?