hello!
i have these data:
date item
08/10/2007 07:34 AM data1
08/10/2007 07:35 AM data2
08/10/2007 07:36 AM data2
08/10/2007 09:01 AM data3
how would i find the data in date between 08/10/2007 07:33 AM to 08/10/2007 07:37 AM?
i try this but it will find all including the 09:01 AM
Code:if (DateTime.Compare(DateTime.Now.AddMinutes(-20),DateTime.Now)<0)




Reply With Quote