Search for time

  1. Search 9.5.x for time
  2. Search 8.9.x for time
  3. Search 10.3.x for time
  4. Search 11.x for time
  5. Other projects
Title Object type File name Summary
$timers global external_documentation/developer/globals.php Timers that have been created by timer_start().
BootstrapTimerTestCase class modules/simpletest/tests/bootstrap.test
BootstrapTimerTestCase::getInfo function modules/simpletest/tests/bootstrap.test
BootstrapTimerTestCase::testTimer function modules/simpletest/tests/bootstrap.test Test timer_read() to ensure it properly accumulates time when the timer
started and stopped multiple times.
CacheClearCase::testMinimumCacheLifetime function modules/simpletest/tests/cache.test Test minimum cache lifetime.
CacheTestCase::setupLifetime function modules/simpletest/tests/cache.test Setup the lifetime settings for caching.
DateTimeFunctionalTest class modules/system/system.test Tests generic date and time handling capabilities of Drupal.
DateTimeFunctionalTest::$admin_user property modules/system/system.test
DateTimeFunctionalTest::getInfo function modules/system/system.test
DateTimeFunctionalTest::setUp function modules/system/system.test Sets up a Drupal site for running functional and integration tests.
DateTimeFunctionalTest::testDateFormatConfiguration function modules/system/system.test Test date format configuration.
DateTimeFunctionalTest::testDateFormatStorage function modules/system/system.test Test if the date formats are stored properly.
DateTimeFunctionalTest::testDateTypeConfiguration function modules/system/system.test Test date type configuration.
DateTimeFunctionalTest::testTimeZoneHandling function modules/system/system.test Test time zones and DST handling.
DrupalTestCase::$timeLimit property modules/simpletest/drupal_web_test_case.php Time limit for the test.
drupal_get_user_timezone function includes/bootstrap.inc Returns the time zone of the current user.
drupal_set_time_limit function includes/common.inc Attempts to set the PHP maximum execution time.
DRUPAL_USER_TIMEZONE_DEFAULT constant modules/system/system.module New users will be set to the default time zone at registration.
DRUPAL_USER_TIMEZONE_EMPTY constant modules/system/system.module New users will get an empty time zone at registration.
DRUPAL_USER_TIMEZONE_SELECT constant modules/system/system.module New users will select their own timezone at registration.
HTTP_REQUEST_TIMEOUT constant includes/common.inc Error code indicating that the request exceeded the specified timeout.
NodeSaveTestCase::testTimestamps function modules/node/node.test Verifies accuracy of the "created" and "changed" timestamp functionality.
REQUEST_TIME constant includes/bootstrap.inc Time of the current request in seconds elapsed since the Unix Epoch.
system_date_time_formats function modules/system/system.admin.inc Displays the date format strings overview page.
system_date_time_lookup function modules/system/system.admin.inc Return the date for a given format string via Ajax.
system_date_time_settings function modules/system/system.admin.inc Form builder; Configure the site date and time settings.
system_timezone function modules/system/system.module Menu callback; Retrieve a JSON object containing a suggested time zone name.
system_time_zones function modules/system/system.module Generate an array of time zones and their local time&date.
system_user_timezone function modules/system/system.module Add the time zone field to the user edit and register forms.
theme_system_date_time_settings function modules/system/system.admin.inc Returns HTML for the date settings form.
timer_read function includes/bootstrap.inc Reads the current timer value without stopping the timer.
timer_start function includes/bootstrap.inc Starts the timer with the specified name.
timer_stop function includes/bootstrap.inc Stops the timer with the specified name.
UPDATE_MAX_FETCH_TIME constant modules/update/update.module Maximum number of seconds to try fetching available update data at a time.
UserTimeZoneFunctionalTest class modules/user/user.test Tests for user-configurable time zones.
UserTimeZoneFunctionalTest::getInfo function modules/user/user.test
UserTimeZoneFunctionalTest::testUserTimeZone function modules/user/user.test Tests the display of dates and time when user-configurable time zones are set.

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