src/ICal/ICal.php
public function iCalDateToUnixTimestamp($icalDate, $forceTimeZone = false, $forceUtc = false)
    {
        $dateTime = $this->iCalDateToDateTime($icalDate, $forceTimeZone, $forceUtc);
        return $dateTime->getTimestamp();
    }
public function iCalDateToUnixTimestamp($icalDate, $forceTimeZone = false, $forceUtc = false)
    {
        $dateTime = $this->iCalDateToDateTime($icalDate, $forceTimeZone, $forceUtc);
        return $dateTime->getTimestamp();
    }
public function iCalDateToUnixTimestamp ( $ icalDate , $ forceTimeZone = false , $ forceUtc = false ) { $ dateTime = $ this -> iCalDateToDateTime ( $ icalDate , $ forceTimeZone , $ forceUtc ) ; return $ dateTime -> getTimestamp ( ) ; }
Returns a Unix timestamp from an iCal date time format

@param  string  $icalDate
@param  boolean $forceTimeZone
@param  boolean $forceUtc
@return integer
Returns a Unix timestamp from an iCal date time format