Search and display the last appointment of date

The setDtstart in database handler doesn't set the wanted value.
Instead, it seems to set the only the year as long (2014).