Diurnal variation of the ionospheric total electron content