One of the methods overloaded versions takes a pageID and two DateTime objects to indicate the interval of the desired posts. However it does not seem to care much about these parameters. It does not seem to matter which dates I give it, it still returns all the posts.
Hello Angelika!
Thank you for the error report. I have been able to reproduce the problem and I have also fixed the bug (#45530). The fix will be available in the next release of EPiServer and we will have evaluate if this should be part of any future hotfixes of EPiServer 4.61. Until the we have released the fix it's possible to use the GetStatistics-method in the undocumented class EPiServer.DataAccess.XFormStatisticsDB.
Regards
Linus Ekström
Developer - EPiServer