The method of discretization in time and partial differential equations