Tools
Turnaround time
When to turn back so you're out before dark, from when you start, how fast you go each way and the sunset where you are.
Turn back by 5:12 p.m.
That's about 32.8 km out. Sunset is 12:15 a.m.; you'd be out by 11:45 p.m..
Light goes earlier in a valley or under trees than the sunset time says. Set your turnaround before you start, and keep it even if the top is close.