Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Read files based on date selection

$
0
0

Hi,

 

I have requirement such that on server there some files for example:  text20101231, text20111231, text20121231 and text (Note: Current year file does not have any suffix in its name i.e. text is current year file).

 

Now in UI user can select 2 dates: From Date and To Date.

According to the selected date files should read in my code.

 

For ex: if user selects From Date: 6/13/2011 and To Date: 11/31/2012 from the calender then my code should read only  text20111231 and text20121231 two files.

I will also check if year in To Date is equal to current year it will read the file in which it does not have any suffix in its name.

 

Kindly suggest how to read the concerned files based upon the date selection.

 

Thank you.


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>