src/Common/Service/DateTime.php
public function getAllTimeFormat()
    {
        $aFormats = static::FORMAT_TIME;

        foreach ($aFormats as &$aFormat) {
            $aFormat          = (object) $aFormat;
            $oDateTimeObject  = static::convert(time(), $this->sTimezoneUser);
            $aFormat->example = $oDateTimeObject->format($aFormat->format);
        }

        return $aFormats;
    }
public function getAllTimeFormat()
    {
        $aFormats = static::FORMAT_TIME;

        foreach ($aFormats as &$aFormat) {
            $aFormat          = (object) $aFormat;
            $oDateTimeObject  = static::convert(time(), $this->sTimezoneUser);
            $aFormat->example = $oDateTimeObject->format($aFormat->format);
        }

        return $aFormats;
    }
public function getAllTimeFormat ( ) { $ aFormats = static :: FORMAT_TIME ; foreach ( $ aFormats as & $ aFormat ) { $ aFormat = ( object ) $ aFormat ; $ oDateTimeObject = static :: convert ( time ( ) , $ this -> sTimezoneUser ) ; $ aFormat -> example = $ oDateTimeObject -> format ( $ aFormat -> format ) ; } return $ aFormats ; }
Returns all the defined time format objects

@return array
Returns all the defined time format objects