code: function isDateType(value) {
      if (value) {
          var str = value.toString();
          return moment(new Date(value), "YYYY-M-D", true).isValid() || moment(value, "YYYY-M-D H:m:s", true).isValid() || moment(value, "YYYY/M/D H:m:s", true).isValid() || moment(value, "YYYY/M/D", true).isValid();
      };
      return false;
  }
docs: date type check.