We use a result on integration by parts for stochastic integrals together with a technique developed by Getoor in [6], to express entrance—exit distributions for a standard process X, and a set Φ which is the support of a continuous additive functional C, in terms of the infinitesimal generators of semigroups associated with the time-changed process (Xτt), where (τt) is the right-continuous inverse of C.