bundle/Core/Service/ExporterService.php
protected function getCreatedDate(EzInfoCollection $ezInfoCollection)
    {
        $date = new \DateTime();
        $date->setTimestamp($ezInfoCollection->getCreated());

        return $date->format('Y-m-d');
    }
protected function getCreatedDate(EzInfoCollection $ezInfoCollection)
    {
        $date = new \DateTime();
        $date->setTimestamp($ezInfoCollection->getCreated());

        return $date->format('Y-m-d');
    }
protected function getCreatedDate ( EzInfoCollection $ ezInfoCollection ) { $ date = new \ DateTime ( ) ; $ date -> setTimestamp ( $ ezInfoCollection -> getCreated ( ) ) ; return $ date -> format ( 'Y-m-d' ) ; }
Get create date from EzInfoCollection as string

@param \Netgen\Bundle\InformationCollectionBundle\Entity\EzInfoCollection $ezInfoCollection

@return string
Get create date from EzInfoCollection as string