Is there a way (without creating a formula datevalue(datetime) field) to aggregate a SOQL query on the date portion of a datetime field? For example, I'd like to do something like:
select datevalue(datetimeField), count(Id) from object__c group by datevalue(datetimeField)