code: function(y, m, d) {
          var dt = null;
          if (YAHOO.lang.isUndefined(d)) {
              d = 1;
          }
          if (y >= 100) {
              dt = new Date(y, m, d);
          } else {
              dt = new Date();
              dt.setFullYear(y);
              dt.setMonth(m);
              dt.setDate(d);
              dt.setHours(0,0,0,0);
          }
          return dt;
      }
docs: Returns a new JavaScript Date object, representing the given year, month and date. Time fields (hr, min, sec, ms) on the new Date object
  are set to 0. The method allows Date instances to be created with the a year less than 100. "new Date(year, month, date)" implementations
  set the year to 19xx if a year (xx) which is less than 100 is provided.
  <p>
  <em>NOTE:</em>Validation on argument values is not performed. It is the caller's responsibility to ensure
  arguments are valid as per the ECMAScript-262 Date object specification for the new Date(year, month[, date]) constructor.
  </p>
  @method getDate
  @param {Number} y Year.
  @param {Number} m Month index from 0 (Jan) to 11 (Dec).
  @param {Number} d (optional) Date from 1 to 31. If not provided, defaults to 1.
  @return {Date} The JavaScript date object with year, month, date set as provided.