Does DNA replication happen before or during Mitosis?

The DNA replication must occur before mitosis starts.