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
DateFormatXmlCookieTest class core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php @group rest
DateFormatXmlCookieTest.php file core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php
DateFormatXmlCookieTest::$auth property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php The authentication mechanism to use in this test.
DateFormatXmlCookieTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php The theme to install as the default for testing.
DateFormatXmlCookieTest::$format property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php The format to use in this test.
DateFormatXmlCookieTest::$mimeType property core/tests/Drupal/FunctionalTests/Rest/DateFormatXmlCookieTest.php The MIME type that corresponds to $format.
DateHelper class core/lib/Drupal/Core/Datetime/DateHelper.php Defines Gregorian Calendar date values.
DateHelper.php file core/lib/Drupal/Core/Datetime/DateHelper.php
DateHelper::ampm function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs an array of AM and PM options.
DateHelper::dayOfWeek function core/lib/Drupal/Core/Datetime/DateHelper.php Returns day of week for a given date (0 = Sunday).
DateHelper::dayOfWeekName function core/lib/Drupal/Core/Datetime/DateHelper.php Returns translated name of the day of week for a given date.
DateHelper::days function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs an array of days in a month.
DateHelper::daysInMonth function core/lib/Drupal/Core/Datetime/DateHelper.php Identifies the number of days in a month for a date.
DateHelper::daysInYear function core/lib/Drupal/Core/Datetime/DateHelper.php Identifies the number of days in a year for a date.
DateHelper::hours function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs an array of hours.
DateHelper::minutes function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs an array of minutes.
DateHelper::monthNames function core/lib/Drupal/Core/Datetime/DateHelper.php Returns a translated array of month names.
DateHelper::monthNamesAbbr function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs a translated array of month name abbreviations.
DateHelper::monthNamesAbbrUntranslated function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs an untranslated array of abbreviated month names.
DateHelper::monthNamesUntranslated function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs an untranslated array of month names.
DateHelper::seconds function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs an array of seconds.
DateHelper::weekDays function core/lib/Drupal/Core/Datetime/DateHelper.php Returns a translated array of week names.
DateHelper::weekDaysAbbr function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs a translated array of week day abbreviations.
DateHelper::weekDaysAbbr1 function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs a translated array of 1-letter week day abbreviations.
DateHelper::weekDaysAbbr2 function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs a translated array of 2-letter week day abbreviations.
DateHelper::weekDaysOrdered function core/lib/Drupal/Core/Datetime/DateHelper.php Reorders weekdays to match the first day of the week.
DateHelper::weekDaysUntranslated function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs an untranslated array of week days.
DateHelper::years function core/lib/Drupal/Core/Datetime/DateHelper.php Constructs an array of years in a specified range.
DateHelperTest class core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php @coversDefaultClass \Drupal\Core\Datetime\DateHelper
@group Datetime
DateHelperTest.php file core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
DateHelperTest::$languageManager property core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php The language manager.
DateHelperTest::providerTestWeekDaysOrdered function core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
DateHelperTest::setUp function core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
DateHelperTest::testDayOfWeek function core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php @covers ::dayOfWeek
DateHelperTest::testDayOfWeekName function core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php @covers ::dayOfWeekName
DateHelperTest::testDaysInMonth function core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php @covers ::daysInMonth
DateHelperTest::testDaysInYear function core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php @covers ::daysInYear
DateHelperTest::testWeekDaysOrdered function core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php @covers ::weekDaysOrdered
@dataProvider providerTestWeekDaysOrdered
Datelist class core/lib/Drupal/Core/Datetime/Element/Datelist.php Provides a datelist element.
Datelist.php file core/lib/Drupal/Core/Datetime/Element/Datelist.php
Datelist::checkEmptyInputs function core/lib/Drupal/Core/Datetime/Element/Datelist.php Checks the input array for empty values.
Datelist::getInfo function core/lib/Drupal/Core/Datetime/Element/Datelist.php Returns the element properties for this element.
Datelist::incrementRound function core/lib/Drupal/Core/Datetime/Element/Datelist.php Rounds minutes and seconds to nearest requested value.
Datelist::processDatelist function core/lib/Drupal/Core/Datetime/Element/Datelist.php Expands a date element into an array of individual elements.
Datelist::validateDatelist function core/lib/Drupal/Core/Datetime/Element/Datelist.php Validation callback for a datelist element.
Datelist::valueCallback function core/lib/Drupal/Core/Datetime/Element/Datelist.php Validates the date type to adjust 12 hour time and prevent invalid dates.
If the date is valid, the date is set in the form.
DatelistElementFormTest class core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Tests Datelist functionality.
DatelistElementFormTest.php file core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
DatelistElementFormTest::$modules property core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Modules to install.
DatelistElementFormTest::buildForm function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Form constructor.

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