#native_company# #native_desc#
#native_cta#

Date Conversion

By Bruce Potter
on July 13, 2004

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>