Since you are using php you can first get all dates and iterate over those dates to get the items according to this (untested)
//../node[contains(@class,'item') and preceding-sibling::node[contains(text(),'12-12-2012')]]
with 12-12-2012
as the searched value.