Parents often set a specific time for their children to go to sleep each night. We call this the "bedtime":
You know that your bedtime is at 9 o'clock. What are you still doing up?
We sometimes use the word "bedtime" jokingly to talk about adults as well.
I gotta go home it's way past my bedtime!