When do you consider first of the day?

If I wake at 3 am to pee is that first mornings, or when I wake up at 6? Does it matter?