protected function read4ByteDate() { $y = readShort(); $m = unpack('c', $this->readByte()); $d = unpack('c', $this->readByte()); return mktime(0, 0, 0, $m[1], $d[1], $y); }