Early Decision 1 Deposit

<p>I applied to a school early decision 1, but now I have a great offer from another school. If I get accepted at my early decision 1 school, how long do I have confirm with them that I can afford to go there? I like my early decision school the best, but the offer from the other one might be too great to turn down.</p>