I'd like to know this as well. I'm currently using an app called Suntimes though that adjusts with the sunrise in your area.
my phone's battery is incredibly old and only lasts for about 3-4 hours of screen time, so i'd just like to not rely on an unreliable device
Makes sense.