How to say in Czech: He knows what he did yesterday.

English
knows what did yesterday.
Czech
On ví, co dělal včera.