In this paper, we study the superconvergence property for the discontinuous Galerkin (DG) and the local discontinuous Galerkin (LDG) methods, for solving one-dimensional time dependent linear conservation laws and convection-diffusion equations. We prove superconvergence towards a particular projection of the exact solution when the upwind flux is used for conservation laws and when the alternating flux is used for convection-diffusion equations. The order of superconvergence for both cases is proved to be k+ 3 2 when piecewise Pk polynomials with k 1 are used. The proof is valid for arbitrary non-uniform regular meshes and for piecewise Pk polynomials with arbitrary k 1, improving upon the results in [8, 9] in which the proof based on Fourier analysis was given only for uniform meshes and piecewise P1 polynomials.