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

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