require_once('HTML/QuickForm/date.php');
+require_once('Date.php');
/**
* Class to dynamically create HTML Select elements from a date
return $options;
} // end func _createNumericOptionList
+
+ /**
+ * Devuelve un objeto date
+ *
+ *
+ * @access public
+ * @return object Date.
+ */
+ function &getValue()
+ {
+ return new Date (sprintf("%04d/%02d/%02d 00:00:00",$this->_selectedDate['Y'],$this->_selectedDate['F'],$this->_selectedDate['d']));
+ } // end func _createNumericOptionList
}
?>