Search for time

  1. Search 7.x for time
  2. Search 9.5.x for time
  3. Search 8.9.x for time
  4. Search 10.3.x for time
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Time class core/modules/views/src/Plugin/views/cache/Time.php Simple caching of query results for Views displays.
time function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Shadow time() system call.
Time class core/lib/Drupal/Component/Datetime/Time.php Provides a class for obtaining system time.

All search results

Title Object type File name Summary
ContextProviderInterface::getRuntimeContexts function core/lib/Drupal/Core/Plugin/Context/ContextProviderInterface.php Gets runtime context values for the given context IDs.
ContextRepositoryInterface::getRuntimeContexts function core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php Gets runtime context values for the given context IDs.
core.date_format.html_datetime.yml file core/tests/fixtures/config_install/testing_config_install/core.date_format.html_datetime.yml core/tests/fixtures/config_install/testing_config_install/core.date_format.html_datetime.yml
core.date_format.html_datetime.yml file core/tests/fixtures/config_install/multilingual/core.date_format.html_datetime.yml core/tests/fixtures/config_install/multilingual/core.date_format.html_datetime.yml
core.date_format.html_datetime.yml file core/modules/system/config/install/core.date_format.html_datetime.yml core/modules/system/config/install/core.date_format.html_datetime.yml
core.date_format.html_time.yml file core/modules/system/config/install/core.date_format.html_time.yml core/modules/system/config/install/core.date_format.html_time.yml
core.date_format.html_time.yml file core/tests/fixtures/config_install/testing_config_install/core.date_format.html_time.yml core/tests/fixtures/config_install/testing_config_install/core.date_format.html_time.yml
core.date_format.html_time.yml file core/tests/fixtures/config_install/multilingual/language/es/core.date_format.html_time.yml core/tests/fixtures/config_install/multilingual/language/es/core.date_format.html_time.yml
core.date_format.html_time.yml file core/tests/fixtures/config_install/multilingual/core.date_format.html_time.yml core/tests/fixtures/config_install/multilingual/core.date_format.html_time.yml
Cron::setCronLastTime function core/lib/Drupal/Core/Cron.php Records and logs the request time for this cron invocation.
CronQueueTest::$currentTime property core/modules/system/tests/src/Kernel/System/CronQueueTest.php The fake current time used for queue worker / cron testing purposes.
CronQueueTest::testLeaseTime function core/modules/system/tests/src/Kernel/System/CronQueueTest.php Tests that leases are expiring correctly, also within the same request.
CronQueueTestLeaseTime class core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestLeaseTime.php A queue worker for testing lease time.
CronQueueTestLeaseTime.php file core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestLeaseTime.php
CronQueueTestLeaseTime::processItem function core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestLeaseTime.php
CronTest::$claimTime property core/tests/Drupal/Tests/Core/CronTest.php Define the duration of each item claim for this test.
CurrentLanguageContext::getRuntimeContexts function core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php Gets runtime context values for the given context IDs.
CurrentUserContext::getRuntimeContexts function core/modules/user/src/ContextProvider/CurrentUserContext.php Gets runtime context values for the given context IDs.
DatabaseEvent::$time property core/lib/Drupal/Core/Database/Event/DatabaseEvent.php The time of the event.
Date::getTimezone function core/modules/datetime/src/Plugin/views/filter/Date.php Get the proper time zone to use in computations.
Date::validateValidTime function core/modules/views/src/Plugin/views/filter/Date.php Validate that the time values convert to something usable.
DateElementBase::datetimeRangeYears function core/lib/Drupal/Core/Datetime/Element/DateElementBase.php Specifies the start and end year to use as a date range.
DateFormatter::$timezones property core/lib/Drupal/Core/Datetime/DateFormatter.php The list of loaded timezones.
DateFormatter::formatTimeDiffSince function core/lib/Drupal/Core/Datetime/DateFormatter.php Formats the time difference from a timestamp to the current request time.
DateFormatter::formatTimeDiffUntil function core/lib/Drupal/Core/Datetime/DateFormatter.php Formats the time difference from the current request time to a timestamp.
DateFormatterInterface::formatTimeDiffSince function core/lib/Drupal/Core/Datetime/DateFormatterInterface.php Formats the time difference from a timestamp to the current request time.
DateFormatterInterface::formatTimeDiffUntil function core/lib/Drupal/Core/Datetime/DateFormatterInterface.php Formats the time difference from the current request time to a timestamp.
DateRangeFieldTest::testDatetimeRangeField function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Tests date and time field.
DateRangeItem::DATETIME_TYPE_ALLDAY constant core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeItem.php Value for the 'datetime_type' setting: store a date and time.
DateSqlInterface::setFieldTimezoneOffset function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Applies the given offset to the given field.
DateSqlInterface::setTimezoneOffset function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Set the database to the given timezone.
DateTest::createTimestamp function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Creates a UNIX timestamp given a date and time string.
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.
DateTestBase::$timezones property core/modules/datetime/tests/src/Functional/DateTestBase.php An array of timezone extremes to test.
DateTestBase::setSiteTimezone function core/modules/datetime/tests/src/Functional/DateTestBase.php Sets the site timezone to a given timezone.
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/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-wrapper.html.twig file core/modules/system/templates/datetime-wrapper.html.twig Default theme implementation of a datetime form wrapper.
datetime.info.yml file core/modules/datetime/datetime.info.yml core/modules/datetime/datetime.info.yml

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