Post Filter by Date and time

Try to use new WP_Query for this.
Add a new query and pass below argument.

$args = array(
    'date_query' => array(
        array(
            'after'     => '2014-02-01',
            'before'    => '2014-02-07',
            'inclusive' => true,
        ),
     ),
);

$my_query = new WP_Query( $args );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)