Session.Write: Insert date
Hi guys,
I would like to use JavaScript to update a record in the recipient table.
I use the session.Write-function. How can I insert the current time into the date field "lastUpdate" in the schema for recipient "12345"?
xtk.session.Write(<recipient _operation="update" _key="@id" lastUpdate={getDate()} id="12345" xtkschema="nms:recipient"/>);
getDate does not work.
Thanks for your help in advance.
Greetings,
Tim