DateTimeComputed::$date

Same name in other branches
  1. 8.9.x core/modules/datetime/src/DateTimeComputed.php \Drupal\datetime\DateTimeComputed::date
  2. 10 core/modules/datetime/src/DateTimeComputed.php \Drupal\datetime\DateTimeComputed::date
  3. 11.x core/modules/datetime/src/DateTimeComputed.php \Drupal\datetime\DateTimeComputed::date

Cached computed date.

Type: \DateTime|null

File

core/modules/datetime/src/DateTimeComputed.php, line 25

Class

DateTimeComputed
A computed property for dates of date time field items.

Namespace

Drupal\datetime

Code

protected $date = NULL;

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