The city bikes are open every day from 06 am until midnight.
If you unlock a bike right before midnight, you can use the bike until the end of your rental time. That is until 00:44 am without extended rental, and until 6:44 am with extended rental!
Read more about the rental time here.