(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1)
Calculate difference between given time and this objectʼs time
public int IntlCalendar::fieldDifference ( float $when, int $field )
Object oriented style
Procedural style
int intlcal_field_difference ( IntlCalendar $cal , float $when , int $field )
Return the difference between the given time and the time this object is set to, with respect to the quantity specified the field param