.empty class works with date field (worked with datetime only)