It's easy
1) Input waypoint into GPS / FMS
2) Set VNAV to be level 5nm prior to waypoint (Your clearance will, 99.9% of the time want you level BY, not levelling at
3) Use computed TOD on FMS whilst still flying Heading
That's accurate enough from both an ATC and a flying point of view.