You can do this:
$sDate = 20040506185423;
$year = date("Y", $sDate);
$month = date("m", $sDate);
$day = date("d", $sDate);
$hour = date("h", $sDate);
$minute = date("i", $sDate);
$second = date("s", $sDate);
Brad
I can't test this right now but if that doesnt work try changing
$sDate = 20040506185423;
to:
$sDate = strtotime("20040506185423");