use Date::Format; print time2str("%a %b %e %T %Y\n", time); __END__ Sun Mar 16 11:20:38 2008