Growing pains are often associated with nighttime discomfort, but they can occur at any time. For example, children may experience leg aches after resting or exercising.