src/CFPropertyList/CFDate.php
public function getValue($format = CFDate::TIMESTAMP_UNIX)
    {
        if ($format == CFDate::TIMESTAMP_UNIX) {
            return $this->value;
        } else {
            return $this->value - CFDate::DATE_DIFF_APPLE_UNIX;
        }
    }
public function getValue($format = CFDate::TIMESTAMP_UNIX)
    {
        if ($format == CFDate::TIMESTAMP_UNIX) {
            return $this->value;
        } else {
            return $this->value - CFDate::DATE_DIFF_APPLE_UNIX;
        }
    }
public function getValue ( $ format = CFDate :: TIMESTAMP_UNIX ) { if ( $ format == CFDate :: TIMESTAMP_UNIX ) { return $ this -> value ; } else { return $ this -> value - CFDate :: DATE_DIFF_APPLE_UNIX ; } }
Get the Date CFType's value.
@param integer $format format the timestamp is specified in, use {@link TIMESTAMP_APPLE} or {@link TIMESTAMP_UNIX}, defaults to {@link TIMESTAMP_UNIX}
@return integer Unix timestamp
@uses TIMESTAMP_APPLE to determine timestamp type
@uses TIMESTAMP_UNIX to determine timestamp type
@uses DATE_DIFF_APPLE_UNIX to convert Unix-timestamp to Apple-timestamp
Get the Date CFType s value .