@Rasta 30 days.
Vinegar is just wine that's been left out open to the air.
What is supposed to happen is the yeast from the air will fall on the water and the yeast will begin to eat the sugar from the apples, starting fermentation. First it becomes alcohol and as it's left to the open air, it will eventually become vinegar.
Vinegar was discovered by leaving open wine barrels exposed to the air.