Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DateTimePlus.php

DateTimePlus::$dateParts

An array of possible date parts.

Type: string[]

File

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

Class

DateTimePlus
Wraps DateTime().

Namespace

Drupal\Component\Datetime

Code

protected static $dateParts = [
    'year',
    'month',
    'day',
    'hour',
    'minute',
    'second',
];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal