Added methods to handle Dates table in DB