SUMIFS() sounds the way to go. It lets you sum one column based on multiple conditions in others.
They syntax runs a little like this... =SUMIF([$Values],[$DataList],[Date],[$TimeList],[Time])
or in context
A B C D
DATE TIME VALUE
01/01/2013 13:00 1 =SUMIFS($C$2:$C$8,$A$2:$A$8,A3,$B$2:$B$8,B3)
01/01/2013 13:00 1 =SUMIFS($C$2:$C$8,$A$2:$A$8,A4,$B$2:$B$8,B4)
01/01/2013 13:00 3 .
01/01/2013 13:30 1 .
01/01/2013 13:30 1 .
02/01/2013 13:00 2
02/01/2013 13:00 1
02/01/2013 13:30 2
There would be quite a lot of duplication of calculation in there but who's looking for elegant