How long is it ok for my newborn to stay awake?

I seen someone said no longer than 45 min?