Search for date

  1. Search 7.x for date
  2. Search 9.5.x for date
  3. Search 10.3.x for date
  4. Search 11.x for date
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Date class core/modules/views/src/Plugin/views/sort/Date.php Basic sort handler for dates.
Date class core/modules/views/src/Plugin/views/field/Date.php A handler to provide proper displays for dates.
Date class core/modules/views/src/Plugin/views/filter/Date.php Filter to handle dates stored as a timestamp.
Date class core/modules/views/src/Plugin/views/argument/Date.php Argument handler for dates.
Date class core/modules/datetime/src/Plugin/views/sort/Date.php Basic sort handler for datetime fields.
Date class core/modules/datetime/src/Plugin/views/filter/Date.php Date/time views filter.
Date class core/modules/datetime/src/Plugin/views/argument/Date.php Abstract argument handler for dates.
Date class core/lib/Drupal/Core/Render/Element/Date.php Provides a form element for date selection.

All search results

Title Object type File name Summary
DateTimePlus::$inputTimeAdjusted property core/lib/Drupal/Component/Datetime/DateTimePlus.php The prepared time, without timezone, for this date.
DateTimePlus::$inputTimeRaw property core/lib/Drupal/Component/Datetime/DateTimePlus.php The value of the time value passed to the constructor.
DateTimePlus::$inputTimeZoneAdjusted property core/lib/Drupal/Component/Datetime/DateTimePlus.php The prepared timezone object used to construct this date.
DateTimePlus::$inputTimeZoneRaw property core/lib/Drupal/Component/Datetime/DateTimePlus.php The value of the timezone passed to the constructor.
DateTimePlus::$langcode property core/lib/Drupal/Component/Datetime/DateTimePlus.php The value of the language code passed to the constructor.
DateTimePlus::arrayToISO function core/lib/Drupal/Component/Datetime/DateTimePlus.php Creates an ISO date from an array of values.
DateTimePlus::checkArray function core/lib/Drupal/Component/Datetime/DateTimePlus.php Checks that arrays of date parts will create a valid date.
DateTimePlus::checkErrors function core/lib/Drupal/Component/Datetime/DateTimePlus.php Examines getLastErrors() to see what errors to report.
DateTimePlus::createFromArray function core/lib/Drupal/Component/Datetime/DateTimePlus.php Creates a date object from an array of date parts.
DateTimePlus::createFromDateTime function core/lib/Drupal/Component/Datetime/DateTimePlus.php Creates a date object from an input date object.
DateTimePlus::createFromFormat function core/lib/Drupal/Component/Datetime/DateTimePlus.php Creates a date object from an input format.
DateTimePlus::createFromTimestamp function core/lib/Drupal/Component/Datetime/DateTimePlus.php Creates a date object from timestamp input.
DateTimePlus::datePad function core/lib/Drupal/Component/Datetime/DateTimePlus.php Pads date parts with zeros.
DateTimePlus::diff function core/lib/Drupal/Component/Datetime/DateTimePlus.php Returns the difference between two DateTimePlus objects.
DateTimePlus::FORMAT constant core/lib/Drupal/Component/Datetime/DateTimePlus.php
DateTimePlus::format function core/lib/Drupal/Component/Datetime/DateTimePlus.php Formats the date for display.
DateTimePlus::getErrors function core/lib/Drupal/Component/Datetime/DateTimePlus.php Gets error messages.
DateTimePlus::getPhpDateTime function core/lib/Drupal/Component/Datetime/DateTimePlus.php Gets a clone of the proxied PHP \DateTime object wrapped by this class.
DateTimePlus::hasErrors function core/lib/Drupal/Component/Datetime/DateTimePlus.php Detects if there were errors in the processing of this date.
DateTimePlus::prepareArray function core/lib/Drupal/Component/Datetime/DateTimePlus.php Creates a complete array from a possibly incomplete array of date parts.
DateTimePlus::prepareFormat function core/lib/Drupal/Component/Datetime/DateTimePlus.php Prepares the input format value.
DateTimePlus::prepareTime function core/lib/Drupal/Component/Datetime/DateTimePlus.php Prepares the input time value.
DateTimePlus::prepareTimezone function core/lib/Drupal/Component/Datetime/DateTimePlus.php Prepares the input timezone value.
DateTimePlus::render function core/lib/Drupal/Component/Datetime/DateTimePlus.php Renders the timezone name.
DateTimePlus::RFC7231 constant core/lib/Drupal/Component/Datetime/DateTimePlus.php A RFC7231 Compliant date.
DateTimePlus::setDefaultDateTime function core/lib/Drupal/Component/Datetime/DateTimePlus.php Sets the default time for an object built from date-only data.
DateTimePlus::__call function core/lib/Drupal/Component/Datetime/DateTimePlus.php Implements the magic __call method.
DateTimePlus::__callStatic function core/lib/Drupal/Component/Datetime/DateTimePlus.php Implements the magic __callStatic method.
DateTimePlus::__clone function core/lib/Drupal/Component/Datetime/DateTimePlus.php Implements the magic __clone method.
DateTimePlus::__construct function core/lib/Drupal/Component/Datetime/DateTimePlus.php Constructs a date object set to a requested date and timezone.
DateTimePlusTest class core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php @coversDefaultClass \Drupal\Component\Datetime\DateTimePlus
@group Datetime
DateTimePlusTest.php file core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php
DateTimePlusTest::assertDateTimestamp function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Assertion helper for testTimestamp and testDateTimestamp since they need
different dataProviders.
DateTimePlusTest::providerTestCheckArray function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Data provider for testCheckArray.
DateTimePlusTest::providerTestDateArrays function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for date tests.
DateTimePlusTest::providerTestDateDiff function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for date tests.
DateTimePlusTest::providerTestDateFormat function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for testDateFormats.
DateTimePlusTest::providerTestDates function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for date tests.
DateTimePlusTest::providerTestDateTimestamp function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for testDateTimestamp.
DateTimePlusTest::providerTestDateTimezone function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for testDateTimezone.
DateTimePlusTest::providerTestInvalidConstructor function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provider for testInvalidConstructor().
DateTimePlusTest::providerTestInvalidDateArrays function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Data provider for testInvalidDateArrays.
DateTimePlusTest::providerTestInvalidDateDiff function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for date tests.
DateTimePlusTest::providerTestInvalidDates function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for testInvalidDates.
DateTimePlusTest::providerTestTimestamp function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Provides data for testTimestamp.
DateTimePlusTest::testChainable function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests that object methods are chainable.
DateTimePlusTest::testChainableNonCallable function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests that chained calls to non-existent functions throw an exception.
DateTimePlusTest::testChainableNonChainable function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests that non-chainable methods work.
DateTimePlusTest::testCheckArray function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Tests DateTimePlus::checkArray().
DateTimePlusTest::testDateArrays function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php Test creating dates from string and array input.

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