function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RamakarryRamakarry 

Aggregate results to display

I have a requirement where i have displayed some Events between 2 different Date.
    But while i'm gona display them through pageblock table Group By StartDateTime, the query as follows is not suppoting 
    select Subject,StartDateTime,day_only(StartDateTime),EndDateTime,Owner.Name,CreatedDate, 
    from Event group by day_only(StartDateTime) 
Any body plz help to fix the error