src/FlexiPeeHP/FlexiBeeRW.php
public static function timestampToFlexiDateTime($timpestamp = null)
    {
        $flexiDateTime = null;
        if (!is_null($timpestamp)) {
            $date          = new \DateTime();
            $date->setTimestamp($timpestamp);
            $flexiDateTime = $date->format('Y-m-dTH:i:s');
        }
        return $flexiDateTime;
    }
public static function timestampToFlexiDateTime($timpestamp = null)
    {
        $flexiDateTime = null;
        if (!is_null($timpestamp)) {
            $date          = new \DateTime();
            $date->setTimestamp($timpestamp);
            $flexiDateTime = $date->format('Y-m-dTH:i:s');
        }
        return $flexiDateTime;
    }
public static function timestampToFlexiDateTime ( $ timpestamp = null ) { $ flexiDateTime = null ; if ( ! is_null ( $ timpestamp ) ) { $ date = new \ DateTime ( ) ; $ date -> setTimestamp ( $ timpestamp ) ; $ flexiDateTime = $ date -> format ( 'Y-m-dTH:i:s' ) ; } return $ flexiDateTime ; }
Convert Timestamp to Flexi DateTime format.

@param int $timpestamp

@return string FlexiBee DateTime or NULL
Convert Timestamp to Flexi DateTime format .