namespace Drupal\Component\Datetime

Same name in other branches
  1. 11.x Drupal\Component\Datetime
  2. 9 Drupal\Component\Datetime
  3. 8.9.x Drupal\Component\Datetime
Object name File name Summary
DateTimePlus core/lib/Drupal/Component/Datetime/DateTimePlus.php Wraps DateTime().
Time core/lib/Drupal/Component/Datetime/Time.php Provides a class for obtaining system time.
TimeInterface core/lib/Drupal/Component/Datetime/TimeInterface.php Defines an interface for obtaining system time.

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