code: function(format)
          {
              return !isDate(this._d) ? '' : hasMoment ? moment(this._d).format(format || this._o.format) : this._d.toDateString();
          }
docs: return a formatted string of the current selection (using Moment.js if available)