Get the value of DateActive / date_active
@return DateTime
436041
public function getDateActive() : ?DateTime
     {
        $rtn = $this->data['date_active'];

        if (!empty($rtn)) {
            $rtn = new DateTime($rtn);
        }

        return $rtn;
     }
480370
public function get_active()
    {
        if ($this->active !== null) {
            return $this->active;
        }

        if (!$this->sieve) {
            return $this->_set_error(self::ERROR_INTERNAL);
        }

        return $this->active = $this->sieve->getActive();
    }
200830
public function getActiveFrom()
    {
        return ! empty($value = $this->getContentValue('active_from', null))
            ? $this->convertToCarbon($value)
            : null;
    }
1357581
public function value()
    {
        $value = null;
        if ($this->min !== null || $this->max !== null) {
            $value       = [($this->min === null ? '*' : $this->min), ($this->max === null ? '*' : $this->max)];
        }
        if ($this->hasValue()) {
            $datetimeMin = date_create($this->min);
            $datetimeMax = date_create($this->max);
            $interval    = date_diff($datetimeMax, $datetimeMin);
            $diff        = (int) $interval->format('%R%d');
            $value       = [($diff <= 0 ? $this->min : $this->max), ($diff <= 0 ? $this->max : $this->min)];
        }
        return $value;
    }
141279
public function toNativeDateTime()
    {
        $year   = $this->getDate()->getYear()->toNative();
        $month  = $this->getDate()->getMonth()->getNumericValue();
        $day    = $this->getDate()->getDay()->toNative();
        $hour   = $this->getTime()->getHour()->toNative();
        $minute = $this->getTime()->getMinute()->toNative();
        $second = $this->getTime()->getSecond()->toNative();

        $dateTime = new \DateTime();
        $dateTime->setDate($year, $month, $day);
        $dateTime->setTime($hour, $minute, $second);

        return $dateTime;
    }
19250
public function GetActiveStartValue()
    {
        $sStartValue = false;
        if (is_array($this->aActiveFilterData) && array_key_exists(self::URL_PARAMETER_FILTER_START_VALUE, $this->aActiveFilterData)) {
            $sStartValue = $this->aActiveFilterData[self::URL_PARAMETER_FILTER_START_VALUE];
        }

        return $sStartValue;
    }
746560
public function getDateTime() {
    $result = new \DateTime();
    $result->setTimestamp((double) $this->pb->getTime() / 1e6);
    return $result;
  }
331821
public function getActiveTo()
    {
        return ! empty($value = $this->getContentValue('active_to', null))
            ? $this->convertToCarbon($value)
            : null;
    }
468410
protected static function getDateTime()
    {
        // Lazyload
        if (null === self::$dateTime) {
            /* @var Doozr_Datetime_Service self::$dateTime */
            self::$dateTime = Doozr_Loader_Serviceloader::load('datetime');
        }

        return self::$dateTime;
    }
721731
protected function getExecutionTime()
    {
        if ($this->executionTime === null) {
            $resource = $this->getActionExecution();

            if ($resource !== null) {
                /** @var \core_kernel_classes_Resource $resource */
                $time = (string) $resource->getOnePropertyValue(new \core_kernel_classes_Property(self::PROPERTY_EXECUTION_TIME));
                if (!empty($time)) {
                    $this->executionTime = new DateTime('@' . $time);
                }
            }
        }
        return $this->executionTime;
    }
168810
public function getDates()
    {
        return $this->cache(__FUNCTION__, function () {
            $casts = $this->getCasts();

            $dates = [];

            foreach ($casts as $key => $cast) {
                if ($cast == 'datetime') {
                    $dates[] = $key;
                }
            }

            return $dates;
        });
    }
738336
protected function determineActiveColumn()
    {
        $info = $this->getModelInformation();

        if ($info && $info->list->activatable && $info->list->active_column) {
            return $info->list->active_column;
        }

        return 'active';
    }
872283
public function getActiveSelection()
    {
        if ($this->_oActiveSelection === null) {
            if (($aSelections = $this->getSelections())) {
                // first is allways active
                $this->_oActiveSelection = reset($aSelections);
            }
        }

        return $this->_oActiveSelection;
    }
431949
public function getStatusAttribute()
    {
        if ($this->isActive()) {
            return self::STATUS_ACTIVE;
        }

        if ($this->isCanceled()) {
            return self::STATUS_CANCELED;
        }

        if ($this->isEnded()) {
            return self::STATUS_ENDED;
        }
    }
985776
public function GetActiveStepPosition()
    {
        $iActivePos = false;
        $iPointer = $this->getItemPointer();
        $this->GoToStart();
        $iStepNumber = 0;
        while ($oItem = $this->Next()) {
            ++$iStepNumber;
            if ($oItem->bIsTheActiveStep) {
                $iActivePos = $iStepNumber;
            }
        }
        $this->setItemPointer($iPointer);

        return $iActivePos;
    }
996096
public static function getDateTime()
    {
        $dt = \DateTime::createFromFormat('U.u', microtime(true));
        $dt->setTimezone(new \DateTimeZone(date('e')));

        return $dt;
    }
764160
public function getDateTime()
    {
        if (!empty($this->parts) && $this->parts[0] instanceof DatePart) {
            return $this->parts[0]->getDateTime();
        }
        return null;
    }