I'm creating duplicates of nodes by doing
It duplicates all the values of all the fields but but it duplicates the created and updated time as well. I want both of those set to now. I know how to set the created time.
However there doesn't seem to be a function or a property for setting the updated time. I read up on the source code of the Node class but couldn't find any mention of it.
Is there any kind of method where you can set the updated time of a node?