src/FlexiPeeHP/FlexiBeeRW.php
public static function timestampToFlexiDate($timpestamp = null)
    {
        $flexiDate = null;
        if (!is_null($timpestamp)) {
            $date      = new \DateTime();
            $date->setTimestamp($timpestamp);
            $flexiDate = $date->format('Y-m-d');
        }
        return $flexiDate;
    }
public static function timestampToFlexiDate($timpestamp = null)
    {
        $flexiDate = null;
        if (!is_null($timpestamp)) {
            $date      = new \DateTime();
            $date->setTimestamp($timpestamp);
            $flexiDate = $date->format('Y-m-d');
        }
        return $flexiDate;
    }
public static function timestampToFlexiDate ( $ timpestamp = null ) { $ flexiDate = null ; if ( ! is_null ( $ timpestamp ) ) { $ date = new \ DateTime ( ) ; $ date -> setTimestamp ( $ timpestamp ) ; $ flexiDate = $ date -> format ( 'Y-m-d' ) ; } return $ flexiDate ; }
Convert Timestamp to FlexiBee Date format.

@param int $timpestamp

@return string FlexiBee Date or NULL
Convert Timestamp to FlexiBee Date format .