Now only storing date, not also time in DB