Children should be told as soon as the decision to divorce has been made. It is natural for parents to feel anxious and uncertain about how to tell the child/children. This anxiety can cause parents to delay talking to their child/children about divorce.
More: continued here