FOFEncryptTotp::getPeriod
Get the time period based on the $time timestamp and the Time Step defined. If $time is skipped or set to null the current timestamp will be used.
Signature
public function getPeriod([int|null
$time = null] )
Parameters
-
$time
- Timestamp
Returns
- int
- The time period since the UNIX Epoch