SELECT toDateTime('2017-06-28 12:01:01') < toDate('2017-07-01');
SELECT toDateTime('2017-06-28 12:01:01') > toDate('2017-07-01');
SELECT toDate('2017-06-28') < toDate('2017-07-01');
SELECT toDate('2017-06-28') > toDate('2017-07-01');
