function FormattedDateDiff::getString
Return value
string The actual formatted time difference.
File
-
core/
lib/ Drupal/ Core/ Datetime/ FormattedDateDiff.php, line 50
Class
- FormattedDateDiff
- Contains a formatted time difference.
Namespace
Drupal\Core\DatetimeCode
public function getString() {
return $this->string;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.