But babies donât know the difference between day and night. So they sleep with no regard for what time it is. That means your babyâs wide-awake time may be from 1 a.m. to 5 a.m. By 3 to 6 months, many babies are able to sleep for a stretch of 6 hours.