What happens if menstruation begins partway through a fasting day?

Kitab al-Sawm: Unconsciousness, Recovery, Menstruation and Abstention