Yawma is a nominative mubtadaʾ after ammā.
Conditional Particles: In, Law and Ammā