Mr Registrar Simmonds allowed the extension but warned there would be no more leeway for Stanley.
"Having regard to the number of adjournments I will give you seven days - that is November 4 - and mark it absolutely final. The petition debt must be paid in full," Simmonds told the court.
Stanley claimed on Tuesday that £200,000 of the debt had been repaid but the club's lawyer indicated just £96,000 had been sent to HMRC.
With the directors pledging to put in £100,000 towards the debt, Khan has offered to service the remaining amount but wants the club to become transparent and allow him to help.
"I am very grateful the judge adopted a lenient attitude with regards to the case but I am also shocked at the amount on top of what we already know about that remains outstanding," he told Press Association Sport.
Khan was not invited to the court as part of Accrington's official party but turned up of his own accord.
"I only found out last night about the situation Accrington were in as I assumed the full amount had been paid as per the media reports on Monday.
"I felt that if I did not go there (to court) there would be a chance that the town of Accrington would not have had a football club by this afternoon and I could not let that happen.
"The club must be transparent, we have a better chance of surviving if the club remains totally transparent. I am now hoping we can still work together to sort the club out by being 100% transparent."
If the club fails to meet next week's deadline it will face closure for the second time in its history.
Later in the same court, League One side Southend United were also given a week to settle a £690,000 debt with HMRC or face a winding-up order.