按昨天应该是过去式,但有已经这个字,只能用过完了,中文很矛盾。By yesterday he had done his homework.
He has done his homework yesterday.