Sythesizes the thymine necessary for the viral DNA replication. (6R)-5,10-methylene-5,6,7,8-tetrahydrofolate + dUMP = 7,8-dihydrofolate + dTMP Expressed in the early phase of the viral replicative cycle. Belongs to the thymidylate synthase family.