$months = array( "Jan" => "01", ... ) ; $str = "Jun 15 1956" ; $str = explode( " ", $str ) ; $str = $months[$str[0]] ."/".$str[1] ."/". $str[2] ; HTH Ignatius _________________________ ----- Original Message ----- From: "Herhuth, Ron" <Ron.Herhuth@tatumpartners.com> To: <php-windows@lists.php.net> Sent: Wednesday, November 05, 2003 9:09 PM Subject: Changing the format of a date I have a current date in the format: Jun 15 1956 I need to convert it to: 06/15/1956 Is there a quick way to do this in PHP? Ron -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php