Raising kids can be difficult and fatherhood requires not only positive moments with your child, but also negative ones, such as time-outs. Time-outs can be effective if done properly.
First, be consistent in time-outs by explaining what kinds of behavior will result in them. Hitting or throwing things can be reasons for a child to spend some time in the corner. However, whining and crying may not be a good reason, as children are less capable of controlling their emotions and may simply be frustrated.
Children may not associate past events with delayed repercussions. It is important to give your child a time-out session immediately following bad behavior. Time-out can happen at home or while you're out, as long as it's in a place that's away from activity and isn't appealing.
Understand that children do not have a concept of time as adults do. Threatening to issue a half hour time-out won't yield any useful results. Use a timer to provide a visual representation that a child can understand. Teach them that worse infractions will lead to a larger section of time when they're in time-out.
Disciplining a child is difficult but remembering the world from their perspective and being consistent will ease the task.