I have a string with a date which is in this format MMDDYYYY (ie. 01132012, 01142012 etc.)
I need to do something on a page, if that string is 14 days or less from t
try date('m-d-y', strtotime('01142012'));
could also try something like;
$var = strtotime('01142012'); $var2 = date ('F j, Y', $var);