Topic: Select articles by year

Hey guys,

Is it possible to select articles from a specific year?
I tried with the following code but it doesn't work. Is this impossible or what am I doing wrong?

$number = "5";
$category = "2";
$year = "2012";

I'm using UTF-8 Cutenews, and with the date hack.


Re: Select articles by year

Works fine, thanks!!!

Is it also possible to select articles from specific months (1,2,3,4,5,6), or until a specific month (until 6)?
I want to show the articles of a season, from august 2011 until june 2012.

If that's no option I can add a category for 2011-2012, but that's not very easy to use.