Create a node programmatically?
Are you using https://www.drupal.org/project/title ? If that's the case you must treat it like a field:

$node-&gt;title_field[$node-&gt;language][0]['value'] = 'Node Created on ' . date('c');