public DateTimePlus::render()
Renders the timezone name.
Return value
string
Overrides ToStringTrait::render
File
- core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 295
Class
- DateTimePlus
- Wraps DateTime().
Namespace
Drupal\Component\Datetime
Code
public function render() { return $this->format(static::FORMAT) . ' ' . $this->getTimeZone()->getName(); }
Please login to continue.