Fixed #19360 -- Exception for aggregates on SQLite

 Raised an explicit exception for aggregates on date/time fields in sqlite3.