Added date in database