how to format :
$date = "20030822";
to something like : 2003-08-22
anybody please ?
$fixed_date = substr($date,0,4). "-" .substr($date,4,2). "-" .substr($date,-2);
would work... or should.... might have to play with some substr start/stop numbers 🙂