This paper reports a two-dimensional time-domain inverse scattering algorithm based upon the finite-difference time domain method (FDTD) for determining the shape of a perfectly conducting cylinder. FDTD is used to solve the scattering electromagnetic wave of a perfectly conducting cylinder. The inverse problem is resolved by an optimization approach and the global searching scheme asynchronous particle swarm optimization is then employed to search the parameter space. By properly processing the scattered field, some electromagnetic properties can be reconstructed. A set of representative numerical results is presented to demonstrate that the proposed approach is able to efficiently reconstruct the electromagnetic properties of metallic scatterer even when the initial guess is far away from the exact one. In addition, the effects of Gaussian noises on imaging reconstruction are also investigated.