You'll want to knock then out as close to 20:30 as possible, after they wake. This way you have all night and day for taming; nothing happens when morning rises so you just have to worry about the next evening time in which it will wake.

More Megalosaurus Taming & KO Tips