public function isoToTimestamp($isoTime)
    {
        $dateTime = \DateTime::createFromFormat(self::SOLR_ISO_DATETIME_FORMAT,
            $isoTime);
        return $dateTime ? (int)$dateTime->format('U') : 0;
    }
public function isoToTimestamp($isoTime)
    {
        $dateTime = \DateTime::createFromFormat(self::SOLR_ISO_DATETIME_FORMAT,
            $isoTime);
        return $dateTime ? (int)$dateTime->format('U') : 0;
    }
public function isoToTimestamp ( $ isoTime ) { $ dateTime = \ DateTime :: createFromFormat ( self :: SOLR_ISO_DATETIME_FORMAT , $ isoTime ) ; return $ dateTime ? ( int ) $ dateTime -> format ( 'U' ) : 0 ; }
Converts a date from ISO 8601 format to unix timestamp.

@param string $isoTime date in ISO 8601 format
@return int unix timestamp
Converts a date from ISO 8601 format to unix timestamp .