$stamp="YYYY-MM-DD HH:MI:SS"; ($date,$time)=split(/\ /,$stamp); ($year,$month,$day)=split(/\-/,$date); $newstamp=$time." $day/$month/$year";