DateTimePlus::$dateParts
Same name in other branches
- 9 core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::dateParts
- 10 core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::dateParts
- 11.x core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::dateParts
An array of possible date parts.
Type: dateParts
File
-
core/
lib/ Drupal/ Component/ Datetime/ DateTimePlus.php, line 58
Class
- DateTimePlus
- Wraps DateTime().
Namespace
Drupal\Component\DatetimeCode
protected static $dateParts = [
'year',
'month',
'day',
'hour',
'minute',
'second',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.