Hello saleha, dt is the step size and usually is small value for the sake of the stability of the computations. and hence you should choose the number of steps (nsteps) that would give you the desired simulation time.
therefore the needed simulation time = dt *nsteps
for example if you want to perform 1ns (1000000 fs) MD simulation with step size (dt) 0.02 fs then you will need nsteps to be 5000000 step.