Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

SELECT COUNT(Id) AS post_year_month, 
FORMAT(CreationDate,'MM.yyyy') AS year_month
FROM Posts
GROUP BY FORMAT(CreationDate,'MM.yyyy')

Enter Parameters

Switch to main site
loading Hold tight while we fetch your results