Ok, I've gotten the reverse of the date fixed I believe. I'm using:
<?php
$date = '8/20/2001';
list($month,$day,$year) = explode('/',$date);
$newdate = "$year-$month-$day";
print $newdate;
?>
It appears to be working fine. Can I do similar to get the $year?
$date = '8/20/2001';
list($month,$day,$year) = explode('/',$date);
Will I then have $year as a variable? Thanks guys!