I want to show the date based on the folder name. For instance if it folder ABC show Month, Year Else show Day, Month, Year. Something like:

<cms:if k_folder_link = "Latest News" >
<cms:date k_page_date format='M, Y' /></p>
<cms:else />
<cms:date k_page_date format='jS M, Y' /></p>
</cms:if>

Can you help?

EDIT: I managed to solve. I applied the filter based on the folder name which I have identified in the cms:editable tag:

<cms:if my_category = "ABC" >
<cms:date k_page_date format='M, Y' /></p>
<cms:else />
<cms:date k_page_date format='jS M, Y' /></p>