Version: 1.1

Type: Full Script

Category: Calendars/Dates

License: GNU General Public License

Description: Convert MYSQL date (yyy-mm-dd) to date like mm/dd/yyy



<?
//PHP scripts to convert from MySQL date format (2000-09-15) to a format like mm/dd/yyyy.

$string = "2000-09-15";

echo $string;
print "<BR>";

$convertedDate = date("m/d/Y", strtotime($string));
echo $convertedDate;
 
?>
</body>
</html>

</body>
</html>