コード例 #1
0
ファイル: simpleTime.php プロジェクト: stitch/RetroTV
 public function getDifferenceInMinutes($hours = 0, $minutes = 0)
 {
     $tmpTime = new time($hours, $minutes);
     $difference = $this->getSeconds - $tmpTime->getMinutes();
     unset($tmpTime);
     return $difference;
 }