Returns a formatted diff for the given from and to datetimes
public formatDiff ( DateTimeInterface $from, DateTimeInterface $to ) : string | ||
$from | DateTimeInterface | |
$to | DateTimeInterface | |
return | string |
public formatDiff ( DateTimeInterface $from, DateTimeInterface $to ) : string | ||
$from | DateTimeInterface | |
$to | DateTimeInterface | |
return | string |