protected function createDateTimeControl($container, $column, $record) { $value = $this->getRecordPropertyValue($column, $record); $time = parent::createDateTimeControl($container, $column, $record); if (!empty($value) && preg_match('/timestamp/i', $column->getDbType())) { $s = Prado::createComponent('System.Util.TDateTimeStamp'); $date = $s->getDate(intval($value)); $time[1]->setSelectedValue($date['hours']); $time[2]->setSelectedValue($date['minutes']); $time[3]->setSelectedValue($date['seconds']); } return $time; }