To echo those above, I usually start my planning with the time at arrival and work backward from there.
So if my arrival is night, then I want to be awake and active at least 6 - 9 hours before which also means I need to have gotten some sleep in the preceding 6 - 9 hour period.
Hope the example was helpful. =D