The Above code should filter all the pages and should return only the pages that are published in this current year. I can see most of the pages are filtered out except 3 pages. When looked at the admin section, Those 3 pages are showing the published date as 2012.
Can you please give me a clue why I'm seeing the pages of 2012, when filtered for current year pages(2013).
Hi,
I'm writing the code as below :
The Above code should filter all the pages and should return only the pages that are published in this current year.
I can see most of the pages are filtered out except 3 pages.
When looked at the admin section, Those 3 pages are showing the published date as 2012.
Can you please give me a clue why I'm seeing the pages of 2012, when filtered for current year pages(2013).
Thanks.
Kishore