# Total energy non-conservation for explicit time dependent potentials

I read from a book that the "total energy is not preserved when the potential depends explicitly on time", i.e. U(x,t). Can anyone show or prove it?

Many thanks.