Get days from DB