DateTimePlus::FORMAT

Same name in other branches
  1. 9 core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::FORMAT
  2. 8.9.x core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::FORMAT
  3. 10 core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::FORMAT
1 use of DateTimePlus::FORMAT
DateTimePlus::render in core/lib/Drupal/Component/Datetime/DateTimePlus.php
Renders the timezone name.

File

core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 44

Class

DateTimePlus
Wraps DateTime().

Namespace

Drupal\Component\Datetime

Code

const FORMAT = 'Y-m-d H:i:s';

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