Is the language for the script in Script Editor set to JavaScript?
And this…
r.creationDate: new Date(seconds * 1000 + microseconds / 1000);
… should be this…
r.creationDate = new Date(seconds * 1000 + microseconds / 1000);
Is the language for the script in Script Editor set to JavaScript?
And this…
r.creationDate: new Date(seconds * 1000 + microseconds / 1000);
… should be this…
r.creationDate = new Date(seconds * 1000 + microseconds / 1000);