Pimcore\Model\Document\Tag\Date::getDataEditmode PHP Method

getDataEditmode() public method

Converts the data so it's suitable for the editmode
public getDataEditmode ( ) : string
return string
    public function getDataEditmode()
    {
        if ($this->date) {
            return $this->date->getTimestamp();
        }
        return null;
    }