Search Results for

    Show / Hide Table of Contents

    TTimeBasedOtp.RemainingSeconds Method

    Overloads

    • TTimeBasedOtp.RemainingSeconds
    • TTimeBasedOtp.RemainingSeconds(TDateTime, Boolean)

    TTimeBasedOtp.RemainingSeconds

    Gets the remaining seconds until the next OTP value is generated.

    Syntax

    Unit: Sphinx.Otp

    function TTimeBasedOtp.RemainingSeconds: Integer; overload;

    See also

    • TTimeBasedOtp

    TTimeBasedOtp.RemainingSeconds(TDateTime, Boolean)

    Gets the remaining seconds until the next OTP value is generated for a specific DateTime.

    Syntax

    Unit: Sphinx.Otp

    function TTimeBasedOtp.RemainingSeconds(DateTime: TDateTime; InputIsUTC: Boolean = False): Int64; overload;

    Parameters

    <-> Parameter Type Description
    DateTime TDateTime The DateTime to calculate the remaining seconds for.
    InputIsUTC Boolean Optional: Default value is False

    Indicates if the provided DateTime is in UTC.

    Returns

    The remaining seconds.

    See also

    • TTimeBasedOtp
    In This Article
    Back to top TMS Sphinx v1.15
    © 2021 - 2025 tmssoftware.com