XQuery : Fastest way to check dates

Harley77

New Member
According to the fact I have this XML file :\[code\]<entries> <entry date="2012-10-09T12:09:09">...</entry> <entry date="2012-10-09T14:19:23">...</entry> ... <entry date="2012-10-13T00:00:00">...</entry></entries>\[/code\]And \[code\]$dateBegin := '2012-10-09T13:00:00'\[/code\] and \[code\]$dateEnd := '2012-10-12T00:00:00'\[/code\]. I'm looking for an efficient way of getting the entries ranged between $dateBegin and $dateEnd, any idea?
 
Back
Top