A filtering equation is derived for P(xt=x|ys,s∈[0,t])for a continuous-time finite-state two-component time-nonhomogeneous cadlag Markov process zt=(xt,yt) . The derivation is based on some new ideas in the filtering theory and does not require any knowledge of stochastic integration.