That looks interesting and way easier
I inserted the code on my page, but the table shows 0 results. I have three pages: One was edited today, one yesterday and the other one on October, 5th. The table shows neither of them I checked the values for $start (1511345695530) and $end (1511518495530). Do these values make sense?
Just to make sure, as i want to display pages, which have not been modified for a year, I will set start as any random date in the past. To set the end, I will insert:
#set ($end = $xwiki.jodatime.dateTime.minusDays(365).millis)
Am I right?!