Look at your watch the moment the engine kicks over, write the time down. As soon as you pull the mixture to shut the engine down, again look at your watch, note the the time. Secure the aircraft, while you're sitting down with your brew of choice calculate the time you will then enter your logbook.