code: public static <D extends Comparable> DateExpression<D> date(DateTimeExpression<D> dateTime) {
          return Expressions.dateOperation(dateTime.getType(), Ops.DateTimeOps.DATE, dateTime);
      }
docs: Convert timestamp to date
  
  @param dateTime timestamp
  @return date