I want to create a list of different month / year values based on the date fields in my db. So, for example, in my table there is
id | date_added | Title
1 | 06/06/2010 | ????
2 | 09/02/2009 | ????
3 | 08/24/2009 | ????
4 | 06/15/2009 | ????
5 | 06/16/2009 | ????
and this table is taken from the model article
how to create a list:
['June 2009', 'August 2009', 'September 2009', 'January 2010']
source
share