Night Mode

I wanna set up my phone to save power at night, turning off mobile data, Wi-Fi, and even cutting down on battery use, then have it all switch back on in the morning. How do I do that?