Exemplo n.º 1
0
 function date($code, $num)
 {
     $ts = HessianUtils::timestampFromBytes64($this->read(8));
     /*$data = unpack('N2', $this->read(8));
     		$ts = ($data[1] *256*256*256*256 ) + $data[2];
     		$ts = $ts / 1000;*/
     return $ts;
 }
Exemplo n.º 2
0
 function parseDate($code, $num)
 {
     $ts = HessianUtils::timestampFromBytes64($this->read(8));
     $this->logMsg("timestamp {$ts}");
     return $ts;
 }