Work out the gain, the tax on it, and the three percent the buyer holds back.
Every deadline comes out as a real date counted from your completion day.