Time discrete and continuous control problems convergence of value functions