How to check node table for entry by current date before inserting new node? How can I check the database table for specific node entries by date before inserting a new node? 

I want to check the node table for any node with the current date, if found, I want to delete the old one and insert a new node.

How can I achieve this.
This should do the trick:

Make a module and insert following code, switch "foo" with your module name.

    /**
    * Implements hook_node_presave($node).
    */
    function foo_node_presave($node) {
      // Lets search for nodes on the current date.
      $somedate = strtotime(date('Y-m-d'));

      $query = new EntityFieldQuery();
      $query-&gt;entityCondition('entity_type', 'node');
      $query-&gt;propertyCondition('created', $somedate, '&gt;=');
      $query-&gt;propertyCondition('created', $somedate + (60 * 60 * 24), '&lt;');
      $result = $query-&gt;execute();

      if (!empty($result)) {
        node_delete_multiple(array_keys($result['node']));
      }
    }


Obviously you might want to do some additional checks before deleting the nodes:

// Nodes of the same type
$query-&gt;propertyCondition('type', $node-&gt;type);

//Only delete published nodes
$query-&gt;propertyCondition('status', 1);