public function setTimestamp($timestamp)
    {
        if (!$timestamp instanceof \DateTime) {
            $date = new \DateTime();
            $date->setTimestamp($timestamp);
        } else {
            $date = $timestamp;
        }
        $this->header['TIMESTAMP'] = $date->format('M d H:i:s');
        return $this;
    }
public function setTimestamp($timestamp)
    {
        if (!$timestamp instanceof \DateTime) {
            $date = new \DateTime();
            $date->setTimestamp($timestamp);
        } else {
            $date = $timestamp;
        }
        $this->header['TIMESTAMP'] = $date->format('M d H:i:s');
        return $this;
    }
public function setTimestamp ( $ timestamp ) { if ( ! $ timestamp instanceof \ DateTime ) { $ date = new \ DateTime ( ) ; $ date -> setTimestamp ( $ timestamp ) ; } else { $ date = $ timestamp ; } $ this -> header [ 'TIMESTAMP' ] = $ date -> format ( 'M d H:i:s' ) ; return $ this ; }
Set the timestamp of the message generation
@var int|\DateTime $timestamp UNIX Timestamp (as generated by time() or strtotime()) or a php DateTime object
@return Bsd
Set the timestamp of the message generation