Search for getCurrentTime

  1. Search 7.x for getCurrentTime
  2. Search 8.9.x for getCurrentTime
  3. Search 10.3.x for getCurrentTime
  4. Search 11.x for getCurrentTime
  5. Other projects
Title Object type File name Summary
Time::getCurrentTime function core/lib/Drupal/Component/Datetime/Time.php Returns the current system time as an integer.
TimeInterface::getCurrentTime function core/lib/Drupal/Component/Datetime/TimeInterface.php Returns the current system time as an integer.
TimeTest::testGetCurrentTime function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Tests the getCurrentTime method.

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