How can I append date and time to node titles? I want to append the date and time to node titles. For example, If the title is Test, I want to change it to Test_DDMMYY_hhmmss.

How can I achieve this?
This will do for you

function modulename_node_presave($node) {
      if($node-&gt;type == 'node_type_machine_name') {
        $new_date = date("DMY_hms", time());
        $node-&gt;title = $node-&gt;title."_".$new_date;
      }
}