*/
function &getValue() {
if ($this->_selectedDate['Y']) {
- return new Date (sprintf("%04d-%02d-%02d 00:00:00",$this->_selectedDate['Y'],$this->_selectedDate['F'],$this->_selectedDate['d']));
+ return new Date (@sprintf("%04d-%02d-%02d %02d:%02d:00",
+ $this->_selectedDate['Y'], $this->_selectedDate['F'],
+ $this->_selectedDate['d'], $this->_selectedDate['H'],
+ $this->_selectedDate['i']));
} else {
return null;
}