Hi,
I'm creating a program were logs files in a certain directory are presented in a table format.
My issue here is, I created a filter option in which the user can filter data available in a particular year and month.
I currently retrieved all the file dates and its in format (2014-08-01).
now I would like to store the values in the format in the below example and then populate the year and month in the dropdown:
2014
- May
- Jun
2015
- Apr
- May
Thus, mainitaining the year and month relation intact.
I request your help in letting me know which data structure would help me achieve it.
Thanks in advance.
Karthikprs