code: function(oData) {
      var date = null;
      
      //Convert to date
      if(!(oData instanceof Date)) {
          date = new Date(oData);
      }
      else {
          return oData;
      }
      
      // Validate
      if(date instanceof Date) {
          return date;
      }
      else {
          YAHOO.log("Could not convert data " + lang.dump(oData) + " to type Date", "warn", this.toString());
          return null;
      }
  }
docs: Converts data to type Date.
  
  @method DataSourceBase.parseDate
  @param oData {Date | String | Number} Data to convert.
  @return {Date} A Date instance.
  @static