I wan't to add a current date when posting new item to appery database.
I've done a mapping of the fields and for the date field I've tried the following java script instead of mapping line:
var d=new Date();
return d.toISOString().replace("T"," ").replace("Z","");
This doesn't work and I don't know how! Please help!
/Claes