When to log periods..

If your period starts whilst you’re sleeping do you log it as starting the night before or morning of??