FormattedDateDiff::$string

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Datetime/FormattedDateDiff.php \Drupal\Core\Datetime\FormattedDateDiff::string
  2. 10 core/lib/Drupal/Core/Datetime/FormattedDateDiff.php \Drupal\Core\Datetime\FormattedDateDiff::string
  3. 11.x core/lib/Drupal/Core/Datetime/FormattedDateDiff.php \Drupal\Core\Datetime\FormattedDateDiff::string

The actual formatted time difference.

Type: string

File

core/lib/Drupal/Core/Datetime/FormattedDateDiff.php, line 21

Class

FormattedDateDiff
Contains a formatted time difference.

Namespace

Drupal\Core\Datetime

Code

protected $string;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.