You can either knock them out during the day, or you can knock them out the moment they wake up at night. It is far safer to knock them out during the day because they will be sluggish but you will have less time to starve them unlike if you tranq them after night. Note that more than likely you will have it wake up because no matter what when night hits they will automatically wake up which is why you must starve them before you tame them. This makes them a challenge to tame for some people. However with some patients and practice you will get the hang of it.

More Megalosaurus Taming & KO Tips