Prado\I18N\TDateFormat::getValue PHP Method

getValue() public method

Get the date-time value for this control.
public getValue ( ) : string
return string date time value.
    public function getValue()
    {
        $value = $this->getViewState('Value', '');
        if (empty($value)) {
            $defaultText = $this->getDefaultText();
            if (empty($defaultText)) {
                return time();
            }
        }
        return $value;
    }