Adldap\Models\User::getPasswordLastSetDate PHP Method

getPasswordLastSetDate() public method

Returns the formatted timestamp of the password last set date.
public getPasswordLastSetDate ( ) : string | null
return string | null
    public function getPasswordLastSetDate()
    {
        if ($timestamp = $this->getPasswordLastSetTimestamp()) {
            return (new DateTime())->setTimestamp($timestamp)->format($this->dateFormat);
        }
    }