function Time::getCurrentMicroTime
Same name in other branches
- 9 core/lib/Drupal/Component/Datetime/Time.php \Drupal\Component\Datetime\Time::getCurrentMicroTime()
- 8.9.x core/lib/Drupal/Component/Datetime/Time.php \Drupal\Component\Datetime\Time::getCurrentMicroTime()
- 11.x core/lib/Drupal/Component/Datetime/Time.php \Drupal\Component\Datetime\Time::getCurrentMicroTime()
2 calls to Time::getCurrentMicroTime()
- Time::getProxyRequestMicroTime in core/
lib/ Drupal/ Component/ Datetime/ Time.php - Returns a mimic of the timestamp of the current request.
- Time::getProxyRequestTime in core/
lib/ Drupal/ Component/ Datetime/ Time.php - Returns a mimic of the timestamp of the current request.
File
-
core/
lib/ Drupal/ Component/ Datetime/ Time.php, line 74
Class
- Time
- Provides a class for obtaining system time.
Namespace
Drupal\Component\DatetimeCode
public function getCurrentMicroTime() {
return microtime(TRUE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.