Cake\Chronos\ChronosInterface::diffInMonths PHP 메소드

diffInMonths() 공개 메소드

Get the difference in months
public diffInMonths ( Cake\Chronos\ChronosInterface $dt = null, boolean $abs = true ) : integer
$dt Cake\Chronos\ChronosInterface The instance to difference from.
$abs boolean Get the absolute of the difference
리턴 integer
    public function diffInMonths(ChronosInterface $dt = null, $abs = true);
ChronosInterface