A simple time-dependent relation between the current and voltage pulse in a one-dimensional diode has been obtained. The relation is applicable to diodes in which the voltage or current pulse changes appreciably during the beam transit time across the diode gap. A simple application of the results to eliminating current transients in ion diodes is presented.