Your day 2 test must be taken and submitted any time before the end of day 2 after landing in the UK with day 0 being the day you land.  This means that it can be taken on day 0, day 1 or day 2.

You are required to remain in isolation until you have received a negative result.