function _password_policy_get_time_per_test_clock in Password Policy 7
Gets time according to test clock.
The test clock is offset from the system clock by a number of seconds set in a database variable.
1 call to _password_policy_get_time_per_test_clock()
- _password_policy_get_time_per_active_clock in ./
password_policy.time.inc - Gets time according to the active clock.
File
- ./
password_policy.time.inc, line 106 - Password Policy time retrieval functions.
Code
function _password_policy_get_time_per_test_clock($time) {
$offset = _password_policy_get_test_clock_offset();
return $time + $offset;
}