I'm confused. Since XML is a descriptive language, why does the record not provide a better description of itself?
Assuming that you can retrieve the record and that the record is consistent, you can simply use explode and list. I don't know what the values represent though:
list($nullvar, $typeMaybe, $idMaybe, $year, $month, $day) = explode('|', $flocRecord);
$dt = new DateTime();
$dt->setDate($year, $month, $day);
Should do what you want.