Search for date

  1. Search 7.x for date
  2. Search 9.5.x for date
  3. Search 8.9.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
DateTest class core/tests/Drupal/Tests/Core/Datetime/DateTest.php @coversDefaultClass \Drupal\Core\Datetime\DateFormatter
@group Datetime
DateTest.php file core/tests/Drupal/Tests/Core/Datetime/DateTest.php
DateTest::$dateFormatter property core/tests/Drupal/Tests/Core/Datetime/DateTest.php The mocked date formatter class.
DateTest::$dateFormatterStub property core/tests/Drupal/Tests/Core/Datetime/DateTest.php The date formatter class where methods can be stubbed.
DateTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Datetime/DateTest.php The mocked entity type manager.
DateTest::$languageManager property core/tests/Drupal/Tests/Core/Datetime/DateTest.php The mocked language manager.
DateTest::$requestStack property core/tests/Drupal/Tests/Core/Datetime/DateTest.php The mocked string translation.
DateTest::$stringTranslation property core/tests/Drupal/Tests/Core/Datetime/DateTest.php The mocked string translation.
DateTest::createTimestamp function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Creates a UNIX timestamp given a date and time string.
DateTest::providerTestFormatDiff function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Data provider for testFormatDiff().
DateTest::providerTestFormatInterval function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Provides some test data for the format interval test.
DateTest::setUp function core/tests/Drupal/Tests/Core/Datetime/DateTest.php
DateTest::testFormatDiff function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests the formatDiff method.
DateTest::testFormatInterval function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests the formatInterval method.
DateTest::testFormatIntervalZeroSecond function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests the formatInterval method for 0 second.
DateTest::testFormattedDateDiff function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests FormattedDateDiff.
DateTest::testFormatTimeDiffSince function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests the formatTimeDiffSince method.
DateTest::testFormatTimeDiffUntil function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests the formatTimeDiffUntil method.
DateTest::testGetSampleDateFormats function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests the getSampleDateFormats method.
DateTest::testRfc2822DateFormat function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests that an RFC2822 formatted date always returns an English string.
DateTestBase class core/modules/datetime/tests/src/Functional/DateTestBase.php Provides a base class for testing Datetime field functionality.
DateTestBase.php file core/modules/datetime/tests/src/Functional/DateTestBase.php
DateTestBase::$dateFormatter property core/modules/datetime/tests/src/Functional/DateTestBase.php The date formatter service.
DateTestBase::$displayOptions property core/modules/datetime/tests/src/Functional/DateTestBase.php An array of display options.
DateTestBase::$field property core/modules/datetime/tests/src/Functional/DateTestBase.php The field used in this test class.
DateTestBase::$fieldStorage property core/modules/datetime/tests/src/Functional/DateTestBase.php A field storage to use in this test class.
DateTestBase::$modules property core/modules/datetime/tests/src/Functional/DateTestBase.php Modules to install.
DateTestBase::$timezones property core/modules/datetime/tests/src/Functional/DateTestBase.php An array of timezone extremes to test.
DateTestBase::createField function core/modules/datetime/tests/src/Functional/DateTestBase.php Creates a date test field.
DateTestBase::getTestFieldType function core/modules/datetime/tests/src/Functional/DateTestBase.php Returns the type of field to be tested.
DateTestBase::massageTestDate function core/modules/datetime/tests/src/Functional/DateTestBase.php Massages test date values.
DateTestBase::renderTestEntity function core/modules/datetime/tests/src/Functional/DateTestBase.php Renders an entity_test and sets the output in the internal browser.
DateTestBase::setSiteTimezone function core/modules/datetime/tests/src/Functional/DateTestBase.php Sets the site timezone to a given timezone.
DateTestBase::setUp function core/modules/datetime/tests/src/Functional/DateTestBase.php
Datetime class core/lib/Drupal/Core/Datetime/Element/Datetime.php Provides a datetime element.
datetime-form.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/form/datetime-form.html.twig Theme override of a datetime form element.
datetime-form.html.twig file core/themes/olivero/templates/datetime-form.html.twig Theme override of a datetime form element.
datetime-form.html.twig file core/themes/stable9/templates/form/datetime-form.html.twig Theme override of a datetime form element.
datetime-form.html.twig file core/themes/claro/templates/datetime-form.html.twig Theme override of a datetime form element.
datetime-form.html.twig file core/themes/starterkit_theme/templates/form/datetime-form.html.twig Theme override of a datetime form element.
datetime-form.html.twig file core/modules/system/templates/datetime-form.html.twig Default theme implementation of a datetime form element.
datetime-wrapper.html.twig file core/modules/system/templates/datetime-wrapper.html.twig Default theme implementation of a datetime form wrapper.
datetime-wrapper.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/form/datetime-wrapper.html.twig Theme override of a datetime form wrapper.
datetime-wrapper.html.twig file core/themes/olivero/templates/datetime-wrapper.html.twig Theme override of a datetime form wrapper.
datetime-wrapper.html.twig file core/themes/stable9/templates/form/datetime-wrapper.html.twig Theme override of a datetime form wrapper.
datetime-wrapper.html.twig file core/themes/claro/templates/datetime-wrapper.html.twig Theme override of a datetime form wrapper.
datetime-wrapper.html.twig file core/themes/starterkit_theme/templates/form/datetime-wrapper.html.twig Theme override of a datetime form wrapper.
datetime.info.yml file core/modules/datetime/datetime.info.yml core/modules/datetime/datetime.info.yml
datetime.migrate_drupal.yml file core/modules/datetime/migrations/state/datetime.migrate_drupal.yml core/modules/datetime/migrations/state/datetime.migrate_drupal.yml
datetime.module file core/modules/datetime/datetime.module Field hooks to implement a simple datetime field.

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