title: Realm.io Query with GroupBy
body: <p>I want to group some accounts by month, can i do this with Realm.io?</p>
  
  <pre><code>public class Account extends RealmObject {
  .....
   private Date date;
  }
  
  RealmResults accounts = realm.where(Account.class)
  .beginGroup()
  .equalTo("date", "MONTH(date)")//&lt;----- wrong code
  .endGroup()
  .findAll();
  </code></pre>
  
  <p>thanks</p>