public DateFormatter::formatDiff($from, $to, $options = array())
Formats a time interval between two timestamps.
Parameters
int $from: A UNIX timestamp, defining the from date and time.
int $to: A UNIX timestamp, defining the to date and time.
array $options: (optional) An associative array with additional options. The following keys can be used:
granularity: An integer value that signals how many different units to display in the string. Defaults to 2.
langcode: The language code for the la