How long do I have to reuse the profit from a home sale to avoid paying taxes on it?

When we sell our house in California, how long do we have to use that money towards the purchase of a house in Hawaii in order to avoid taxes?