Show / Hide Table of Contents

    TimeSpanExtensions.SecondsAfter(this TimeSpan time1, TimeSpan? time2) Method

    .NET Standard 2.x

    Determines the number of seconds one time occurs after another.

    Namespace: PowerScript.Bridge

    Assembly: PowerScript.Bridge.dll

    Syntax

     public static int? SecondsAfter(this TimeSpan time1, TimeSpan? time2);
    

    Parameters

    time1 System.TimeSpan

    A TimeSpan value that is the start time of the interval being measured.

    time2 System.TimpSpan

    A TimeSpan value that is the end time of the interval.

    Returns

    System.Int32

    Returns the number of seconds time2 occurs after time1. If time2 occurs before time1, SecondsAfter returns a negative number. If time2 is null, SecondsAfter returns null.

    Examples

    Coming soon.

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon