Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to find data according to the conditions like data stored between two dates, within 15 days, within 1 month
Posted

1 solution

The solution depends on how the data is actually stored, for instance if you are using a database, then the best option would be a SQL query, on the other hand if you have just an array of Date values then you have to write the appropriate algo (e.g. order the values and the find lower and upper limits of the interval).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900