i have a custom news search feature where users can select a month and year to show all news items that have a publish date with that month and year. ultimately i am using ditto to display the summaries but how can i use the ditto filter parameter to check for the month and year of the "pub_date" field ignoring the day? or if this is not possible how can i query the database to return a recordset of IDs to use? my SQL is pretty good but i don’t know how to use the unix timestamp employed by modx.
thanks!