So I'm looking at a diffusion process with killing with a state- and time-dependent killing rate. This is described in Oksendal's Stochastic differential equations pages 143-145 "The Feynman-Kac Formula. Killing". Basically, you have a generator $$ L f = -\sum_i \frac{\partial }{\partial x_i} A_i(x,t) f(x) + \frac{1}{2} \sum_{i,j} \frac{\partial^2}{\partial x_i \partial x_j} B_{i,j}(x,t) f(x) - c(x,t)f(x), $$ and this corresponds to a process with drift $A$, diffusion $B$ and a killing rate given by $c(x,t)$.
However, no one mentions if the killing rate can be time-dependent. The demonstration uses the stochastic process $$ Z_t = \exp(-\int_0^t c(X_s)) ds, $$ with $dZ_t$ given by $$ dZ_t = -Z_t c(X_t) dt. $$ However, if $c$ is a function of time too, there would be an additional term in the differential, right? Wikipedia's Feynman-Kac formula page states the problem with a time-dependent potential $V(x,t)$ but then goes on to drop this dependence throughout the page. Can I go on to use the Feynman-Kac formula if the potential is time-dependent? Do I have to include some additional terms somewhere? My hunch is yes, but I'm not sure how to derive the correct formulation!