public DateFormatter::formatDiff($from, $to, $options = array())
The configuration factory. Type:
protected DateFormatter::country() Returns
File core/lib/Drupal/Core/Datetime/DateFormatter.php, line 56 Class
public DateFormatter::__construct(EntityManagerInterface $entity_manager
Provides a service to handle various date related functionality. Hierarchy class
The date format storage. Type:
The list of loaded timezones. Type:
public DateFormatter::formatTimeDiffSince($timestamp, $options = array())
File core/lib/Drupal/Core/Datetime/DateFormatter.php, line 57 Class
Page 1 of 2