code/http/token/token.php
public function setExpireTime(\DateTime $date)
    {
        $date->setTimezone(new \DateTimeZone('UTC'));
        $this->_claims['exp'] = (int)$date->format('U');

        return $this;
    }
public function setExpireTime(\DateTime $date)
    {
        $date->setTimezone(new \DateTimeZone('UTC'));
        $this->_claims['exp'] = (int)$date->format('U');

        return $this;
    }
public function setExpireTime ( \ DateTime $ date ) { $ date -> setTimezone ( new \ DateTimeZone ( 'UTC' ) ) ; $ this -> _claims [ 'exp' ] = ( int ) $ date -> format ( 'U' ) ; return $ this ; }
Sets the expiration time of the token.

Sets the 'exp' claim in the JWT claim segment. This claim identifies the expiration time on or after which the
token MUST NOT be accepted for processing

@param  \DateTime $date A \DateTime instance
@return $this
Sets the expiration time of the token .