[snip /]
Hi Matt,
try this:
function formatDate($val) {
$timestamp = strtotime($val);
return date('M d, Y g:i A', $timestamp);
}
strtotime possibly will not work if your date is < 01/01/1970.
[snip /]
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php